We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97769a8 commit 18e9c8dCopy full SHA for 18e9c8d
packages/core-bridge/src/runtime.rs
@@ -3,7 +3,7 @@ use std::{sync::Arc, time::Duration};
3
use anyhow::Context as _;
4
use futures::channel::mpsc::Receiver;
5
use neon::prelude::*;
6
-use tracing::{Instrument, warn};
+use tracing::{Instrument, trace, warn};
7
8
use temporal_sdk_core::{
9
CoreRuntime, RuntimeOptionsBuilder, TokioRuntimeBuilder,
@@ -136,6 +136,7 @@ pub fn runtime_new(
136
/// runtimes at a high pace, e.g. during tests execution.
137
#[js_function]
138
pub fn runtime_shutdown(runtime: OpaqueInboundHandle<Runtime>) -> BridgeResult<()> {
139
+ trace!("dropping runtime");
140
std::mem::drop(runtime.take()?);
141
Ok(())
142
}
0 commit comments