From: Nicolas Boichat Date: Mon, 26 Apr 2004 20:29:13 +0000 (+0000) Subject: Corrected GTK bug caused by the last modification (application exiting when thread... X-Git-Tag: Release-1.34.3~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1bae5acfb404926973f717db521736a0dd3d2556;p=bacula%2Fbacula Corrected GTK bug caused by the last modification (application exiting when thread exiting). git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1310 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/wx-console/console_thread.cpp b/bacula/src/wx-console/console_thread.cpp index ede22cd565..3b84c8bd07 100644 --- a/bacula/src/wx-console/console_thread.cpp +++ b/bacula/src/wx-console/console_thread.cpp @@ -100,7 +100,9 @@ void* console_thread::Entry() { csprint(NULL, CS_END); csprint(NULL, CS_DISCONNECTED); csprint(NULL, CS_TERMINATED); - Exit(); + #ifdef HAVE_WIN32 + Exit(); + #endif return NULL; } @@ -113,7 +115,9 @@ void* console_thread::Entry() { csprint(NULL, CS_END); csprint(NULL, CS_DISCONNECTED); csprint(NULL, CS_TERMINATED); - Exit(); + #ifdef HAVE_WIN32 + Exit(); + #endif return NULL; } @@ -163,8 +167,10 @@ void* console_thread::Entry() { UA_sock = NULL; csprint(NULL, CS_TERMINATED); - - Exit(); + + #ifdef HAVE_WIN32 + Exit(); + #endif return NULL; }