Skip to content

Commit 9f3f949

Browse files
committed
fix: [#592] halt channel closed after starting HTTP tracker
1 parent a876d8c commit 9f3f949

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/jobs/http_tracker.rs

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ async fn start_v1(socket: SocketAddr, tls: Option<RustlsConfig>, tracker: Arc<co
5959
.expect("it should be able to start to the http tracker");
6060

6161
tokio::spawn(async move {
62+
assert!(
63+
!server.state.halt_task.is_closed(),
64+
"Halt channel for HTTP tracker should be open"
65+
);
6266
server
6367
.state
6468
.task

0 commit comments

Comments
 (0)