Merge pull request #583 from teloxide/fix-dispatcher-graceful-shutdown

Fix dispatcher's graceful shutdown
This commit is contained in:
Waffle Maybe 2022-04-09 00:43:07 +04:00 committed by GitHub
commit 6770f5fc61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,7 +200,6 @@ where
if let Some(token) = stop_token.take() {
log::debug!("Start shutting down dispatching...");
token.stop();
break;
}
}
}