Skip to content

Commit 9e0a2c8

Browse files
committed
Merge branch 'willow' into Frando/willow-event-subscriptions
2 parents 6d9e5d2 + d0b0250 commit 9e0a2c8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

iroh-willow/src/engine/actor.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,8 @@ impl Drop for ActorHandle {
267267
let shutdown = move || {
268268
if let Err(err) = inbox_tx.blocking_send(Input::Shutdown { reply: None }) {
269269
warn!(?err, "Failed to send shutdown");
270-
} else {
271-
if let Err(err) = handle.join() {
272-
warn!(?err, "Failed to join sync actor");
273-
}
270+
} else if let Err(err) = handle.join() {
271+
warn!(?err, "Failed to join sync actor");
274272
}
275273
};
276274

0 commit comments

Comments
 (0)