Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ public static void init(
throw new IllegalStateException("Timeout waiting for Sentry NDK library to load");
}
} catch (InterruptedException e) {
// we don't own the calling thread, so keep its interrupt for the code that does
Thread.currentThread().interrupt();
throw new IllegalStateException(
"Thread interrupted while waiting for NDK libs to be loaded", e);
}
Expand All @@ -116,6 +118,8 @@ public static void close() {
throw new IllegalStateException("Timeout waiting for Sentry NDK library to load");
}
} catch (InterruptedException e) {
// we don't own the calling thread, so keep its interrupt for the code that does
Thread.currentThread().interrupt();
throw new IllegalStateException(
"Thread interrupted while waiting for NDK libs to be loaded", e);
}
Expand Down
Loading