Prevent crash on timeout
This commit is contained in:
@@ -58,7 +58,11 @@ abstract class RootSession {
|
||||
mutex.withLock {
|
||||
check(usersCount == 0L)
|
||||
timeoutJob = null
|
||||
try {
|
||||
closeLocked()
|
||||
} catch (e: Exception) {
|
||||
Logger.me.e("Closing RootServer on timeout failed", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user