change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / cinelerra / iec61883output.C
index a2fe2e1a824cdfccbb0cf85b0950917389ffe784..8997266f1dd75cfa43ec9d20a09479767e0f3582 100644 (file)
@@ -74,8 +74,8 @@ IEC61883Output::~IEC61883Output()
                done = 1;
                start_lock->unlock();
                Thread::cancel();
-               Thread::join();
        }
+       Thread::join();
 
        if(buffer)
        {