onDetach() not called on browser close. Ideas for handling?

Yes, it’s not really “reliable” in that sense that is is guaranteed to run IMMEDIATELY. It takes time…

If you need immediately feedback this add-on of @Matti might be helpful `PageVisibility` in Viritin – Because polling in the void is just sad