Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Politely ask the model-checked application to terminate on shutdown.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 30 Mar 2021 12:25:54 +0000 (14:25 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 30 Mar 2021 20:10:14 +0000 (22:10 +0200)
src/mc/ModelChecker.cpp

index 47c8a88..df403c3 100644 (file)
@@ -108,7 +108,7 @@ void ModelChecker::shutdown()
   RemoteProcess& process = get_remote_process();
   if (process.running()) {
     XBT_DEBUG("Killing process");
-    // TODO, terminate the model checker politely instead of exiting rudely
+    finalize_app(true);
     kill(process.pid(), SIGKILL);
     process.terminate();
   }