Skip to content

Commit 18e9c8d

Browse files
add runtime drop logging
1 parent 97769a8 commit 18e9c8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core-bridge/src/runtime.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::{sync::Arc, time::Duration};
33
use anyhow::Context as _;
44
use futures::channel::mpsc::Receiver;
55
use neon::prelude::*;
6-
use tracing::{Instrument, warn};
6+
use tracing::{Instrument, trace, warn};
77

88
use temporal_sdk_core::{
99
CoreRuntime, RuntimeOptionsBuilder, TokioRuntimeBuilder,
@@ -136,6 +136,7 @@ pub fn runtime_new(
136136
/// runtimes at a high pace, e.g. during tests execution.
137137
#[js_function]
138138
pub fn runtime_shutdown(runtime: OpaqueInboundHandle<Runtime>) -> BridgeResult<()> {
139+
trace!("dropping runtime");
139140
std::mem::drop(runtime.take()?);
140141
Ok(())
141142
}

0 commit comments

Comments
 (0)