Fix AV stop recording crash

This commit is contained in:
max-klaus 2020-02-21 18:03:12 +03:00
parent 5612135a71
commit c577b0c28e

View file

@ -1142,7 +1142,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
if (mediaRec != null) {
try {
mediaRec.stop();
} catch (IllegalStateException e) {
} catch (RuntimeException e) {
log.error(e.getMessage(), e);
}
indexFile(true, mediaRecFile);