[Bugfix] Do not block diffusion client shutdown on a dead subprocess (#7812)
Signed-off-by: cr-gao <gaochenrui@sjtu.edu.cn>
This commit is contained in:
3 files changed
+174
-13
No files matched your search
@@ -1431,7 +1431,7 @@ class TestStageDiffusionClientErrorPropagation:
|
||||
)
|
||||
|
||||
assert result is None
|
||||
client._request_socket.send.assert_called_once_with(b"encoded-rpc")
|
||||
client._request_socket.send.assert_called_once_with(b"encoded-rpc", flags=zmq.NOBLOCK)
|
||||
assert rpc_id not in client._pending_rpcs
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user