8000 include mediaMuxer.release in try/catch · next-coder/flutter-webrtc@8d78272 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d78272

Browse files
committed
include mediaMuxer.release in try/catch
1 parent c24296d commit 8d78272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/cloudwebrtc/webrtc/record/AudioFileRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ void release(MethodChannel.Result result) {
141141
}
142142
try {
143143
mediaMuxer.stop();
144+
mediaMuxer.release();
144145
} catch (Exception e) {
145146
// do nothing...
146147
}
147-
mediaMuxer.release();
148148
audioThread.quit();
149149

150150
result.success(null);

0 commit comments

Comments
 (0)
0