Skip to content

Commit 6ac6872

Browse files
committed
Extract variable
1 parent 4daac72 commit 6ac6872

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler/base/orchestrator/src/coordinator.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,9 +1221,8 @@ impl Container {
12211221
} = spawn_io_queue(stdin, stdout, token);
12221222

12231223
let (command_tx, command_rx) = mpsc::channel(8);
1224-
let demultiplex_task =
1225-
tokio::spawn(Commander::demultiplex(command_rx, from_worker_rx).in_current_span())
1226-
.abort_on_drop();
1224+
let demultiplex = Commander::demultiplex(command_rx, from_worker_rx);
1225+
let demultiplex_task = tokio::spawn(demultiplex.in_current_span()).abort_on_drop();
12271226

12281227
let task = tokio::spawn(
12291228
async move {

0 commit comments

Comments
 (0)