change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / cinelerra / dbwindow.C
index c19b581e37e2a9763c9f264a053cd0af0a3852df..48768cd4bb487c8b2c0f60776c22c1564fe5851d 100644 (file)
@@ -87,8 +87,8 @@ stop()
                if( gui ) gui->set_done(1);
                window_lock->unlock();
                Thread::cancel();
                if( gui ) gui->set_done(1);
                window_lock->unlock();
                Thread::cancel();
-               Thread::join();
        }
        }
+       Thread::join();
 }
 
 void DbWindow::
 }
 
 void DbWindow::