Ungraceful shutdown...

  • Thread starter Thread starter Brian H
  • Start date Start date
B

Brian H

Hi again gurus,

One thing that came up during testing: if I handle the exiting of my app
from within my app (such as an exit button, etc) all is fine. When the app
is terminated through another application (like a today screen plugin such
as Battery Pack) I can't seem to catch that event and clear some
resources... what's the best practice for this?

Thanks again,
Brian
 
For future refence for other developers:

Once I capture both the OnClosed and OnClosing events, it appears I can
capture the hard shutdowns. What's odd is that sometimes one gets fired and
not the other.

Brian
 
Back
Top