removed explicit drops

This commit is contained in:
Jędrzej Stuczyński
2024-05-07 15:01:38 +01:00
parent f89fa2d1e4
commit 14f57889bf
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -303,8 +303,6 @@ impl<'a> HttpApiBuilder<'a> {
Ok(server) => server.with_task_client(task_client),
Err(err) => {
error!("failed to create http server: {err}");
// this will cause global shutdown
drop(task_client);
return;
}
};
-2
View File
@@ -110,8 +110,6 @@ impl<'a> HttpApiBuilder<'a> {
Ok(server) => server.with_task_client(task_client),
Err(err) => {
error!("failed to create http server: {err}");
// this will cause global shutdown
drop(task_client);
return;
}
};