change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / cinelerra / gwindow.C
index 679dacade9c8d723e6279b1cb267ed12a96219db..bfa490d3bf35e97ae047dbc6edbc1814e23655ff 100644 (file)
@@ -34,8 +34,8 @@ GWindow::~GWindow()
 {
        if(gui && running()) {
                gui->set_done(0);
-               join();
        }
+       join();
        delete gui;  gui = 0;
 }