reset server_restart_mode

This commit is contained in:
InspectorCaracal 2023-12-05 18:36:14 -07:00 committed by GitHub
parent 3e6ea6a8bf
commit b932df274c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,6 +197,8 @@ class AMPServerProtocol(amp.AMPMultiConnectionProtocol):
if process and not _is_windows():
# avoid zombie-process on Unix/BSD
process.wait()
# unset the reset-mode flag on the portal
self.factory.portal.server_restart_mode = None
return
def wait_for_disconnect(self, callback, *args, **kwargs):