Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions nativescript-angular/platform-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,18 @@ export class NativeScriptPlatformRef extends PlatformRef {
reject(err);
}
});

(<any>global).Zone.drainMicroTaskQueue();
});

page.on(Page.navigatingToEvent, initHandler);

return page;
}
},
animated: false
};

if (isReboot) {
navEntry.animated = false;
navEntry.clearHistory = true;
}

Expand Down
2 changes: 2 additions & 0 deletions nativescript-angular/zone-js/dist/zone-nativescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ var Zone$1 = (function (global) {
_isDrainingMicrotaskQueue = false;
}
}
Zone.drainMicroTaskQueue = drainMicroTaskQueue;
function isThenable(value) {
return value && value.then;
}
Expand Down Expand Up @@ -1576,6 +1577,7 @@ function patchEventTargetMethods(obj, addFnName, removeFnName, metaCreator) {
return false;
}
}
var originalInstanceKey = zoneSymbol('originalInstance');
// wrap some native API on `window`


Expand Down