Fix another crash

This commit is contained in:
Mygod
2018-02-04 04:08:46 -08:00
parent 7cc3c48240
commit d715f7b4c6
2 changed files with 1 additions and 1 deletions
@@ -198,6 +198,7 @@ class MainActivity : AppCompatActivity(), ShadowsocksConnection.Interface, Drawe
override fun binderDied() {
super.binderDied()
app.handler.post {
connection.disconnect()
Executable.killAll()
connection.connect()
}