mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-22 07:39:53 +01:00
Shut down the Android executor after stopping the plugins. Bug #67.
This commit is contained in:
@@ -136,11 +136,11 @@ public class BriarService extends RoboService implements EventListener {
|
|||||||
new Thread() {
|
new Thread() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
androidExecutor.shutdown();
|
|
||||||
if(started) {
|
if(started) {
|
||||||
db.removeListener(BriarService.this);
|
db.removeListener(BriarService.this);
|
||||||
lifecycleManager.stopServices();
|
lifecycleManager.stopServices();
|
||||||
}
|
}
|
||||||
|
androidExecutor.shutdown();
|
||||||
}
|
}
|
||||||
}.start();
|
}.start();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user