使用put_buttons的线程问题 #252
honesthnter
started this conversation in
General
Replies: 2 comments 8 replies
-
请升级到最新版V1.5.1再试一下,最新版应该已经解决了这个问题 |
Beta Was this translation helpful? Give feedback.
0 replies
-
尝试了升级到V1.5.1,还是存在线程只增不减的情形。 |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我在windows下使用pywebio的,部署在tornao上,发现有这样一个现象,如果页面有put_buttons,一般每次打开页面,对应的python进程的线程数会增加两个,关闭页面窗口,线程减少一个,刷新时也会增加一个线程数量,这样一来有可能随着页面的不断打开或者刷新,线程数量不断的增加,有办法在关闭页面时清理与页面相关的所有线程么?
附:如果没有put_buttons的页面,则打开页面增加一个线程,关闭页面也刚好减少一个线程,刷新也不影响线程数量。
Beta Was this translation helpful? Give feedback.
All reactions