diff --git a/src/enclave/rpc_sessions.h b/src/enclave/rpc_sessions.h index f8c9db55b373..b1df9b9a3b68 100644 --- a/src/enclave/rpc_sessions.h +++ b/src/enclave/rpc_sessions.h @@ -548,6 +548,12 @@ namespace ccf } sessions.erase(search); } + else + { + // Enclave doesn't know this ID, but host is still talking about it. + // Continue with the normal closure flow + RINGBUFFER_WRITE_MESSAGE(::tcp::tcp_closed, to_host, id); + } } std::shared_ptr create_client(