简体   繁体   中英

python flask thread is always running, can't stop

I use flask as http server, for Multi-threaded support, I set threaded=True The Call Stack shows every thread is running and not cancel when function finished.

在此输入图像描述

And the memory has been growing.

在此输入图像描述

我用龙卷风框架解决了它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM