mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -270,6 +270,9 @@ impl BotsManager {
|
|||||||
loop {
|
loop {
|
||||||
if !running.load(Ordering::SeqCst) {
|
if !running.load(Ordering::SeqCst) {
|
||||||
manager.stop_data.0.stop();
|
manager.stop_data.0.stop();
|
||||||
|
};
|
||||||
|
|
||||||
|
if manager.stop_data.1.is_stopped() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user