change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / guicast / bcsynchronous.C
index 35d4a1c1b03abe6c60c14f95c4edb8b6e43ca488..54f5eec2c5ca500e675ef58fb150845abaf9effc 100644 (file)
@@ -119,8 +119,8 @@ BC_Synchronous::~BC_Synchronous()
 {
        if( running() ) {
                quit();
-               join();
        }
+       join();
        commands.remove_all_objects();
        delete lock_sync;
        delete next_command;