mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 07:09:56 +01:00
[android] stop livecycle before delete app data and exit cleanly
Fixes #1380
This commit is contained in:
@@ -168,6 +168,7 @@ class LifecycleManagerImpl implements LifecycleManager, MigrationListener {
|
||||
|
||||
@Override
|
||||
public void stopServices() {
|
||||
if (state == STOPPING) return;
|
||||
try {
|
||||
startStopSemaphore.acquire();
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
Reference in New Issue
Block a user