是我在用PyCharm开发Flask应用,今天调试的时候断点总是不能命中,后来发现任务管理器中有一堆的python.exe,经过测验,当我再pycharm启动网站后再关闭,后台的python3.exe仍然在运行.甚至在pycharm关闭后还在运行.求解
欢迎选择我的课程,让我们一起见证您的进步~~
PyCharm, after the running program is closed, a dialog box will pop up
Choose the first one to close python.exe, but the second one will not. I chose the second one step by step carefully and remember the selection.
There must be something wrong with your code. For example, multi-threading is not set to daemon mode, and the thread is still running after the program exits, which means that python3.exe is not turned off
PyCharm, after the running program is closed, a dialog box will pop up
Choose the first one to close python.exe, but the second one will not. I chose the second one step by step carefully and remember the selection.
There must be something wrong with your code. For example, multi-threading is not set to daemon mode, and the thread is still running after the program exits, which means that python3.exe is not turned off