change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / cinelerra / resourcethread.C
index c14bf27b79ca0b7b36def8d5e1afc7aba6baf128..6aa27b99e125ff9c5ff9399b057609174a42726a 100644 (file)
@@ -338,8 +338,8 @@ void ResourceThread::stop()
                done = 1;
                interrupted = 1;
                draw_lock->unlock();
-               join();
        }
+       join();
 }