更新时间:2023-11-14 14:31:58
从理论上讲,您永远不需要使用thread.abort()杀死线程. 这就是thread.abort()引发异常的原因.
线程在退出其主过程时将终止.
In theory you should never need to kill a thread with thread.abort()
That is why thread.abort() throws an exception.
The thread will terminate when it exits its main procedure.