1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Do not process more client requests when modules are shutting down.

This commit is contained in:
grossmj 2014-04-30 10:40:07 -06:00
parent e7d9f73e1e
commit b54e554497

View File

@ -235,6 +235,11 @@ class IModule(multiprocessing.Process):
:param request: request from ZeroMQ server
"""
# server is shutting down, do not process
# more request
if self._stopping:
return
try:
request = zmq.utils.jsonapi.loads(request[0])
except ValueError: