score:6

Accepted answer

Closing the page will actually discard the main process/thread which handles the rendering of the web page. In that case, there is actually no way of calling the unmounting method since the thread which calls that method is discarded.


Related Query

More Query from same tag