]> git.sur5r.net Git - bacula/bacula/commitdiff
Corrected GTK bug caused by the last modification (application exiting when thread...
authorNicolas Boichat <nicolas@boichat.ch>
Mon, 26 Apr 2004 20:29:13 +0000 (20:29 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Mon, 26 Apr 2004 20:29:13 +0000 (20:29 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1310 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/console_thread.cpp

index ede22cd5656a44811604df9c2beb926041cd3cdb..3b84c8bd0772c8b36ba4d28627d5b804d4857361 100644 (file)
@@ -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;
 }