Fix various crashes

This commit is contained in:
Mygod
2020-06-24 10:10:03 +08:00
parent 6ce21ed56f
commit 0b57c3d9a1
2 changed files with 12 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ abstract class RoutingManager(private val caller: Any, val downstream: String, p
for (manager in active.values) manager.routing?.stop()
try {
runBlocking { Routing.clean() }
} catch (e: RuntimeException) {
} catch (e: Exception) {
Timber.d(e)
SmartSnackbar.make(e).show()
return