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