fix: небольшие фиксы от линуса торвальдса

This commit is contained in:
Jganenokk
2026-06-13 23:06:54 +07:00
parent 814e969c4a
commit abdda2be14
4 changed files with 31 additions and 3 deletions
+2
View File
@@ -24,6 +24,8 @@ class SelfCheckService {
_timer = Timer.periodic(interval, (_) => unawaited(_check()));
}
void checkNow() => unawaited(_check());
Future<void> _check() async {
final api = _api;
if (api == null || api.state != SessionState.online) return;