Skip to content

Commit

Permalink
broadcast exit signal when network receive `ProtocolHandleErrorKind::…
Browse files Browse the repository at this point in the history
…AbnormallyClosed`
  • Loading branch information
eval-exec committed Jun 16, 2023
1 parent 1a3b79a commit 2e73c71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion network/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,9 @@ impl ServiceHandle for EventHandler {
)
},
);
self.exit_handler.notify_exit();
error!("ProtocolHandleError: AbnormallyClosed, proto_id: {opt_session_id:?}, session id: {opt_session_id:?}");

broadcast_exit_signals();
}
}
}
Expand Down

0 comments on commit 2e73c71

Please sign in to comment.