Skip to content

Commit 44a6576

Browse files
authored
Update c bridge for dotnet to allow SharedNamespaceWorker creation (#1073)
1 parent 7419ada commit 44a6576

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/sdk-core-c-bridge/src/worker.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ pub extern "C" fn temporal_core_worker_replace_client(
649649
new_client: *mut Client,
650650
) -> *const ByteArray {
651651
let worker = unsafe { &*worker };
652+
enter_sync!(worker.runtime);
652653
let core_worker = worker.worker.as_ref().expect("missing worker").clone();
653654
let client = unsafe { &*new_client };
654655

0 commit comments

Comments
 (0)