Skip to content

Commit d7ad679

Browse files
committed
remove module watcher from subscription
1 parent e331b2f commit d7ad679

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

crates/core/src/host/host_controller.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,11 @@ impl Host {
886886
let disk_metrics_recorder_task = tokio::spawn(metric_reporter(replica_ctx.clone())).abort_handle();
887887

888888
let module = watch::Sender::new(module_host);
889-
replica_ctx.subscriptions.init(module.subscribe());
889+
//TODO(shub): Below code interfere with `exit_module` code,
890+
// I suspect channel internally holds a reference to the module,
891+
// even after we drop the sender.
892+
//
893+
// replica_ctx.subscriptions.init(module.subscribe());
890894
Ok(Host {
891895
module,
892896
replica_ctx,

0 commit comments

Comments
 (0)