mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-23 13:57:35 +00:00
Stop service as first in onDestroy, then call super
This commit is contained in:
parent
131df973fb
commit
ece9aac833
@ -144,8 +144,8 @@ public class BackgroundMode extends CordovaPlugin {
|
||||
*/
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
stopService();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user