Can anyone tell me when this event actually fires?
I thought that whenever a user either closes the browser by pressing 'X' or when the user types in a new URL this event would fire, however that doesn't seem to be working that way when I try to run the app.
I've noticed that the event does fire when I rebuild the app or when I restart visual studio (when it actually opens again, not when it closes).
I don't understand this behavior.
I need to run some simple cleanup code to ensure that record locks are removed if a user exits the app in one of the afore mentioned ways.
Any info would be appreciated.
I thought that whenever a user either closes the browser by pressing 'X' or when the user types in a new URL this event would fire, however that doesn't seem to be working that way when I try to run the app.
I've noticed that the event does fire when I rebuild the app or when I restart visual studio (when it actually opens again, not when it closes).
I don't understand this behavior.
I need to run some simple cleanup code to ensure that record locks are removed if a user exits the app in one of the afore mentioned ways.
Any info would be appreciated.