I'm experiencing a strange situation under Google Chrome (newest)
- I'm navigating to a list in my ng2 driven web application, collapsing the browser to the task bar and after 5 minutes (or so), the console is showing messages that are being shown when my component gets initiated the first time, so:
public ngOnInit(): void {
console.log("INIT CALLED");
}
So it looks like Chrome
is killing my application, then it gets resurrected and is showing this INIT CALLED
message. What kills me is that ngOnDestroy
hook is not called before ngOnInit
gets called the second time. Looks like a bug in ng2 for me, but has anybody experienced this and can share a fix with me?