mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2025-12-13 09:53:22 +00:00
service stuck on swipe away fix (#304)
This commit is contained in:
committed by
Sebastián Katzer
parent
7285bec9e0
commit
a2352f5d8b
@@ -155,6 +155,7 @@ public class BackgroundMode extends CordovaPlugin {
|
|||||||
public void onDestroy() {
|
public void onDestroy() {
|
||||||
stopService();
|
stopService();
|
||||||
super.onDestroy();
|
super.onDestroy();
|
||||||
|
android.os.Process.killProcess(android.os.Process.myPid());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user