Fixed mkvexec race condition in shutdown on uninitialized streams

This commit is contained in:
Thulinma 2021-03-24 15:40:15 +01:00
parent 8cd0bff105
commit 118ba102f2

View file

@ -427,11 +427,12 @@ int main(int argc, char *argv[]){
close(pipein[1]);
close(pipeout[1]);
sink.join();
HIGH_MSG("sink thread joined")
source.join();
HIGH_MSG("source thread joined");
sink.join();
HIGH_MSG("sink thread joined")
return 0;
}