开发者

Application.Exit() leaves debugger attached to something

When I call Application.Exit(), the app seems to quit, but the debugger remains attached to some process and I have to开发者_JAVA技巧 hit the stop button.

I suspect this is because I'm running a TCP receive thread in the app, but aborting it on quit didn't seem to fix it, either.


Is it a background or foreground thread? Make it background, so it get's aborted on application quit.

Also, instead of hitting stop, pause the debugger, and see where in the code it is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜