Sebastian Lackner : server: Do not shutdown server in persistent mode when creation of first process fails.

Alexandre Julliard julliard at winehq.org
Mon Jun 19 14:49:29 CDT 2017


Module: wine
Branch: master
Commit: 4fc5d8873ca3b1bd0a4029e331f9292564ac86c9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4fc5d8873ca3b1bd0a4029e331f9292564ac86c9

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Sun Jun 18 01:54:16 2017 +0200

server: Do not shutdown server in persistent mode when creation of first process fails.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/process.c b/server/process.c
index 4f38ae1..3e962ca 100644
--- a/server/process.c
+++ b/server/process.c
@@ -592,7 +592,7 @@ struct thread *create_process( int fd, struct thread *parent_thread, int inherit
  error:
     if (process) release_object( process );
     /* if we failed to start our first process, close everything down */
-    if (!running_processes) close_master_socket( 0 );
+    if (!running_processes && master_socket_timeout != TIMEOUT_INFINITE) close_master_socket( 0 );
     return NULL;
 }
 




More information about the wine-cvs mailing list