change thread join strategy, fix a few leaks, fix a few bugs
[goodguy/history.git] / cinelerra-5.1 / cinelerra / iec61883input.C
index cbdfe103406a6c2f348a0c189258dc28e3f49b77..8b41c92b56e277d47007cb0b87b945ca350e0bd1 100644 (file)
@@ -67,8 +67,8 @@ IEC61883Input::~IEC61883Input()
        if(Thread::running())
        {
                done = 1;
-               Thread::join();
        }
+       Thread::join();
 
        if(buffer)
        {