From b750ac5bedf6ead43c8c6a33dc7ba39094815579 Mon Sep 17 00:00:00 2001
From: Valentin Perrelle <valentin.perrelle@cea.fr>
Date: Thu, 27 Apr 2023 20:06:32 +0200
Subject: [PATCH] [Ivette] disconnect the server at exit to allow the process
 to exit

---
 ivette/src/frama-c/server.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ivette/src/frama-c/server.ts b/ivette/src/frama-c/server.ts
index 122f9378047..f0287dc587f 100644
--- a/ivette/src/frama-c/server.ts
+++ b/ivette/src/frama-c/server.ts
@@ -284,6 +284,8 @@ export function stop(): void {
   }
 }
 
+Dome.atExit(stop);
+
 // --------------------------------------------------------------------------
 // --- Server Control (Kill)
 // --------------------------------------------------------------------------
-- 
GitLab