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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top