Skip to content

Commit d8af06f

Browse files
committed
Trying to fix kill bug
1 parent 7885d95 commit d8af06f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FFmpegAndroid/src/main/java/com/github/hiteshsondhi88/libffmpeg/FFmpegExecuteAsyncTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ private void checkAndUpdateProcess() throws TimeoutException, InterruptedExcepti
9191
while ((line = reader.readLine()) != null) {
9292
if (isCancelled()) {
9393
process.destroy();
94+
process.waitFor();
9495
return;
9596
}
9697

0 commit comments

Comments
 (0)