Shut down the Android executor after stopping the plugins. Bug #67.

This commit is contained in:
akwizgran
2014-04-04 19:54:20 +01:00
parent 75ce6cf1da
commit a5ac325ae8

View File

@@ -136,11 +136,11 @@ public class BriarService extends RoboService implements EventListener {
new Thread() {
@Override
public void run() {
androidExecutor.shutdown();
if(started) {
db.removeListener(BriarService.this);
lifecycleManager.stopServices();
}
androidExecutor.shutdown();
}
}.start();
}