Skip to content

Commit

Permalink
Merge pull request #8 from tarekFerdous/branch_SP
Browse files Browse the repository at this point in the history
Manually called Thread.interrupt() to re-interrupt the current thread.
  • Loading branch information
Sharanyu authored Feb 15, 2024
2 parents 60ad80d + 32aad32 commit 52e2a31
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public boolean writeTrack(List<Track> tracks, @NonNull OutputStream outputStream
return true;
} catch (InterruptedException | IOException e) {
Log.e(TAG, "Unable to write track", e);
Thread.currentThread().interrupt();
return false;
}
}
Expand Down

0 comments on commit 52e2a31

Please sign in to comment.