LoopingCall may already have been stopped.

This commit is contained in:
Itamar Turner-Trauring 2022-10-04 10:30:27 -04:00
parent fd07c092ed
commit 1294baa82e

View File

@ -1066,6 +1066,7 @@ class HTTPNativeStorageServer(service.MultiService):
def stopService(self):
service.MultiService.stopService(self)
if self._lc.running:
self._lc.stop()
self._failed_to_connect("shut down")