Avoid a false positive in DeadlockDetector.
This commit is contained in:
parent
40ac0f4e89
commit
a56dd5ca87
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class DeadlockDetector(private val handler: Handler, private val pollingInterval
|
|||
|
||||
private fun Array<StackTraceElement>.hasPotentialLock(): Boolean {
|
||||
return any {
|
||||
it.methodName.startsWith("lock") || (it.methodName.startsWith("waitForConnection") && it.className.contains("IncomingMessageObserver"))
|
||||
it.methodName.startsWith("lock") || (it.methodName.startsWith("waitForConnection") && !it.className.contains("IncomingMessageObserver"))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue