python flask thread is always running, can't stop

Viewed 321

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.

enter image description here

And the memory has been growing.

enter image description here

1 Answers

I use tornado framework solved it.

Related