mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-24 08:14:53 +00:00
service stuck on swipe away fix (#304)
This commit is contained in:
parent
7285bec9e0
commit
a2352f5d8b
@ -155,6 +155,7 @@ public class BackgroundMode extends CordovaPlugin {
|
||||
public void onDestroy() {
|
||||
stopService();
|
||||
super.onDestroy();
|
||||
android.os.Process.killProcess(android.os.Process.myPid());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user