service stuck on swipe away fix (#304)

This commit is contained in:
Dimitrios Matanis 2018-01-09 19:51:50 +00:00 committed by Sebastián Katzer
parent 7285bec9e0
commit a2352f5d8b

View File

@ -155,6 +155,7 @@ public class BackgroundMode extends CordovaPlugin {
public void onDestroy() {
stopService();
super.onDestroy();
android.os.Process.killProcess(android.os.Process.myPid());
}
/**