Skip to content

Commit

Permalink
depends: Update libmultiprocess library to fix MSAN failure
Browse files Browse the repository at this point in the history
This update brings in the following changes:

chaincodelabs/libmultiprocess#116  shutdown bugfix: destroy RPC system before running cleanup callbacks
  • Loading branch information
ryanofsky committed Oct 1, 2024
1 parent fc642c3 commit 7363a3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions depends/packages/native_libmultiprocess.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package=native_libmultiprocess
$(package)_version=015e95f7ebaa47619a213a19801e7fffafc56864
$(package)_version=2350843a3196ee2bf1253a8061aaf2d4b1ea462b
$(package)_download_path=https://github.com/chaincodelabs/libmultiprocess/archive
$(package)_file_name=$($(package)_version).tar.gz
$(package)_sha256_hash=4b1266b121337f3f6f37e1863fba91c1a5ee9ad126bcffc6fe6b9ca47ad050a1
$(package)_sha256_hash=084471ae7df3b10fa254fbe83f12835d6dda6816c15eba530efcea65d975f5a5
$(package)_dependencies=native_capnp

define $(package)_config_cmds
Expand Down
2 changes: 1 addition & 1 deletion src/test/ipc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void IpcPipeTest()

auto connection_client = std::make_unique<mp::Connection>(loop, kj::mv(pipe.ends[0]));
auto foo_client = std::make_unique<mp::ProxyClient<gen::FooInterface>>(
connection_client->m_rpc_system.bootstrap(mp::ServerVatId().vat_id).castAs<gen::FooInterface>(),
connection_client->m_rpc_system->bootstrap(mp::ServerVatId().vat_id).castAs<gen::FooInterface>(),
connection_client.get(), /* destroy_connection= */ false);
foo_promise.set_value(std::move(foo_client));
disconnect_client = [&] { loop.sync([&] { connection_client.reset(); }); };
Expand Down

0 comments on commit 7363a3e

Please sign in to comment.