I have a website with mutliple tabs and with multiple menu items with a master page.How to know when the browser/tab is closed.I need to close a thread on browser close.
I Haved tried this event
This event is getting invoked when i am moving from one tab to other and even from one menu item to other.I want to know only when the the browser/tab is getting closed.

Salman BegRank #284 · 8.8K reputationPosted Feb 3, 2020, 1:26 AM EST
Amit MohantyRank #112 · 20K reputationPosted Feb 3, 2020, 1:31 AM EST
SmileRank #9,215 · 209 reputationPosted Feb 3, 2020, 6:54 PM EST