Merge pull request #3358 from InspectorCaracal/patch-13
Reset portal's `server_restart_mode` on server start
This commit is contained in:
commit
1d889e4841
1 changed files with 2 additions and 0 deletions
|
|
@ -197,6 +197,8 @@ class AMPServerProtocol(amp.AMPMultiConnectionProtocol):
|
||||||
if process and not _is_windows():
|
if process and not _is_windows():
|
||||||
# avoid zombie-process on Unix/BSD
|
# avoid zombie-process on Unix/BSD
|
||||||
process.wait()
|
process.wait()
|
||||||
|
# unset the reset-mode flag on the portal
|
||||||
|
self.factory.portal.server_restart_mode = None
|
||||||
return
|
return
|
||||||
|
|
||||||
def wait_for_disconnect(self, callback, *args, **kwargs):
|
def wait_for_disconnect(self, callback, *args, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue