Fixed mkvexec race condition in shutdown on uninitialized streams
This commit is contained in:
parent
8cd0bff105
commit
118ba102f2
1 changed files with 4 additions and 3 deletions
|
@ -427,11 +427,12 @@ int main(int argc, char *argv[]){
|
||||||
close(pipein[1]);
|
close(pipein[1]);
|
||||||
close(pipeout[1]);
|
close(pipeout[1]);
|
||||||
|
|
||||||
sink.join();
|
|
||||||
HIGH_MSG("sink thread joined")
|
|
||||||
|
|
||||||
source.join();
|
source.join();
|
||||||
HIGH_MSG("source thread joined");
|
HIGH_MSG("source thread joined");
|
||||||
|
|
||||||
|
sink.join();
|
||||||
|
HIGH_MSG("sink thread joined")
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue