mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 08:48:01 +00:00
Shutdown more immediately.
This commit is contained in:
parent
2ec1c1e43e
commit
d15ea8cb52
@ -1274,7 +1274,8 @@ class HTTPNativeStorageServer(service.MultiService):
|
||||
|
||||
maybe_storage_server = self.get_storage_server()
|
||||
if maybe_storage_server is not None:
|
||||
result.addCallback(lambda _: maybe_storage_server._http_client.shutdown())
|
||||
client_shutting_down = maybe_storage_server._http_client.shutdown()
|
||||
result.addCallback(lambda _: client_shutting_down)
|
||||
|
||||
return result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user