Skip to content

Commit

Permalink
Add some debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Mar 28, 2024
1 parent 64bde8c commit d4ed69f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions binaries/daemon/src/spawn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ pub async fn spawn_node(
let (log_finish_tx, log_finish_rx) = oneshot::channel();
tokio::spawn(async move {
let exit_status = NodeExitStatus::from(child.wait().await);
tracing::debug!("node exited with status: {exit_status:?}");
let _ = log_finish_rx.await;
let event = DoraEvent::SpawnedNodeResult {
dataflow_id,
Expand Down
6 changes: 6 additions & 0 deletions libraries/extensions/ros2-bridge/msg-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ where
}
}

impl Drop for Ros2Context {
fn drop(&mut self) {
tracing::debug!("dropping Ros2Context");
}
}

struct Ros2Node {
node : ros2_client::Node,
executor: std::sync::Arc<futures::executor::ThreadPool>,
Expand Down

0 comments on commit d4ed69f

Please sign in to comment.