Skip to content

Commit b62bfa3

Browse files
author
vakrilov
committed
fix: App crashes on restart in android
1 parent f84fbdc commit b62bfa3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: nativescript-angular/platform-common.ts

-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import {
3131
run as applicationRun,
3232
_resetRootView as applicationRerun,
3333
on,
34-
off,
3534
launchEvent,
3635
LaunchEventData,
3736
} from "tns-core-modules/application";
@@ -153,7 +152,6 @@ export class NativeScriptPlatformRef extends PlatformRef {
153152
"nativescript-angular/platform-common.launchCallback",
154153
(args: LaunchEventData) => {
155154
bootstrapLog("Application launch event fired");
156-
off(launchEvent, launchCallback);
157155

158156
let bootstrapPromiseCompleted = false;
159157
this._bootstrapper().then(

0 commit comments

Comments
 (0)