[Wine-patches] server: Terminate wine processes if wineserver is received SIGTERM.

Alexander Morozov amorozov на etersoft.ru
Чт Мар 11 16:21:45 MSK 2010


----------- следующая часть -----------
From 716dd9b36bf723db5f2c8c38fabf1fd77bf4ef04 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Thu, 11 Mar 2010 16:16:49 +0300
Subject: [PATCH] server: Terminate wine processes if wineserver is received SIGTERM.

---
 server/signal.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/server/signal.c b/server/signal.c
index b10eefd..96fc4c0 100644
--- a/server/signal.c
+++ b/server/signal.c
@@ -183,9 +183,7 @@ static void sighup_callback(void)
 /* SIGTERM callback */
 static void sigterm_callback(void)
 {
-    flush_registry();
-    destroy_time_mapping();
-    exit(1);
+    shutdown_master_socket();
 }
 
 /* SIGINT callback */
-- 
1.6.5.8



Подробная информация о списке рассылки Wine-patches