I want to do some DML operation when my lwc is removed from the DOM, so can anyone please confirm if disconnected callback will run on all below scenario
- on close tab.
- on browser close.
- got disconnected from internet.
- shut down the machine.
I know this might seem a silly question, but it is really important in my case.