This commit is contained in:
flaskfarm
2022-10-13 01:48:26 +09:00
parent 41e94ab774
commit 5f55743bd2

View File

@@ -485,7 +485,7 @@ class Framework:
SupportSubprocess.all_process_close() SupportSubprocess.all_process_close()
from .init_plugin import PluginManager from .init_plugin import PluginManager
PluginManager.plugin_unload() PluginManager.plugin_unload()
with self.app.app_context(): with self.app.test_request_context():
self.socketio.stop() self.socketio.stop()
except Exception as exception: except Exception as exception:
self.logger.error('Exception:%s', exception) self.logger.error('Exception:%s', exception)