fix: drop queue after spawning tasks to ensure proper resource management
This commit is contained in:
@@ -71,6 +71,8 @@ pub async fn check_all<R: reqwest::dns::Resolve + 'static>(
|
||||
});
|
||||
}
|
||||
|
||||
drop(queue);
|
||||
|
||||
while let Some(res) = join_set.join_next().await {
|
||||
match res {
|
||||
Ok(()) => {}
|
||||
|
||||
Reference in New Issue
Block a user