Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mfahampshire committed Nov 13, 2023
1 parent 3eaa55d commit 97cc62e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions common/task/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,16 @@ impl TaskClient {
impl Drop for TaskClient {
fn drop(&mut self) {
if !self.mode.should_signal_on_drop() {
self.log(Level::Debug, "the task client is getting dropped: this is expected during client disconnect");
self.log(
Level::Debug,
"the task client is getting dropped: this is expected during client disconnect",
);
return;
} else {
self.log(Level::Info, "the task client is getting dropped: this is expected during client disconnect");
self.log(
Level::Info,
"the task client is getting dropped: this is expected during client disconnect",
);
}

if !self.is_shutdown_poll() {
Expand Down

0 comments on commit 97cc62e

Please sign in to comment.