-
-
Notifications
You must be signed in to change notification settings - Fork 16.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stop/terminate flask outside request context #1807
Comments
Why do you want this? |
i am developing a thing that use flask in another thread (maybe i should bring it to main one) ... i should try os.kill() i guess ... |
Using |
what about using cherrypy server since werkzeug is only for development ? |
using cherrypy server worked well for me ... thanks |
is it possible to stop flask outside request context ? as i know there's no way for it .
maybe a function( stop() ) that changes a flag( shutdown_signal=False ==> True ) for werkzeug that stops server for listening on new connections ?
i can contribute on making this feature if you allow me ...
The text was updated successfully, but these errors were encountered: