We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1d0d6 commit abbe723Copy full SHA for abbe723
1 file changed
bugsnag-plugin-android-apphang/src/main/java/com/bugsnag/android/internal/LooperMonitorThread.kt
@@ -69,11 +69,11 @@ internal class LooperMonitorThread(
69
70
if (timeSinceLastHeartbeat >= appHangThresholdMillis) {
71
reportAppHang(timeSinceLastHeartbeat)
72
- } else {
73
- if (!handler.post(heartbeat)) {
74
- // handler.post returning false means the Looper has likely quit
75
- isRunning.set(false)
76
- }
+ }
+
+ if (!handler.post(heartbeat)) {
+ // handler.post returning false means the Looper has likely quit
+ isRunning.set(false)
77
}
78
79
0 commit comments