We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f543d9f commit 0141709Copy full SHA for 0141709
1 file changed
sentry-android-core/src/main/java/io/sentry/android/core/SentryShakeDetector.java
@@ -97,7 +97,11 @@ public void stop() {
97
// Post clear to the HandlerThread so all queue access stays single-threaded
98
final @Nullable Handler h = handler;
99
if (h != null) {
100
- h.post(queue::clear);
+ h.post(
101
+ () -> {
102
+ //noinspection Convert2MethodRef
103
+ queue.clear();
104
+ });
105
}
106
107
0 commit comments