VB.NET 应用程序未完全关闭 [英] VB.NET Application does not fully close

查看:46
本文介绍了VB.NET 应用程序未完全关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动我的应用程序时,按下我的应用程序上的X"按钮,或者我部署的退出按钮:me.close 它不会完全关闭应用程序.就像实例仍在 Visual Studio 中运行一样,或者如果您转到任务管理器进程,您仍然可以在那里看到它.我如何才能完全关闭它?

When I launch my application, and press the "X" button on my app, or my quit button which deploys: me.close It will not fully close the application. Like the instance is still running in Visual Studio or if you go to task manager processes you can still see it there. How would I get this to fully close?

推荐答案

一种可能性是,除了主线程之外,您还有一些线程正在运行,而那些不是后台线程.一般来说,尝试调试它:从 VS 附加到它,并使用暂停按钮中断它,并查看那里有哪些线程,以及它们在做什么.

One possibility is that you have some threads apart from the main thread running, and those aren't background threads. In general, try debugging it: attach to it from VS, and use Pause button to break it, and look at what threads are there, and what they are doing.

这篇关于VB.NET 应用程序未完全关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆