Отлавливание ошибок

This commit is contained in:
2025-02-14 19:11:38 +06:00
parent 023b1cdfed
commit 35d71c211b
4 changed files with 33 additions and 13 deletions

View File

@@ -46,9 +46,9 @@ coro<void> Server::run() {
// TODO: std::cout << exc.what() << std::endl;
}
Lock.cancel();
IsAlive.store(false);
IsAlive.notify_all();
Lock.cancel();
}