Stop service as first in onDestroy, then call super

This commit is contained in:
Sebastián Katzer 2017-02-06 16:10:26 +01:00
parent 131df973fb
commit ece9aac833

View File

@ -144,8 +144,8 @@ public class BackgroundMode extends CordovaPlugin {
*/
@Override
public void onDestroy() {
super.onDestroy();
stopService();
super.onDestroy();
}
/**