How to exit SW quickly
Posted
by Yigang Wu
on Stack Overflow
See other posts from Stack Overflow
or by Yigang Wu
Published on 2009-02-13T06:02:34Z
Indexed on
2010/03/20
21:01 UTC
Read the original article
Hit count: 360
I have a SW which reside in external HDD, it will run automatically when user plug external HDD, of course, the SW have to close automatically when user unplug the external HDD. I can receive the device lost message, however my SW will not be respond druing releasing all objects, if I call exit(0) directly, the SW will show a crash message. Is there any way to quickly exit SW?
© Stack Overflow or respective owner