chore: trim redundant comments

This commit is contained in:
zarzet committed 2026-06-13 15:37:00 +07:00
1 parent fb2dda1ed1
commit 49869792cf
13 files changed
+30 -96

No files matched your search

+1 -3
View File
@@ -6676,9 +6676,7 @@ class DownloadQueueNotifier extends Notifier<DownloadQueueState> {
}
}
// iOS has no foreground service; request a background execution window so
// an in-flight download can keep running for a short time after the app is
// backgrounded instead of being suspended immediately.
// iOS: request a background execution window (no foreground service).
if (Platform.isIOS && _totalQueuedAtStart > 0) {
await PlatformBridge.beginBackgroundDownloadTask();
}
+1 -4
View File
@@ -206,10 +206,7 @@ class StoreState {
}
class StoreNotifier extends Notifier<StoreState> {
/// Serializes extension install/upgrade operations. Running two of these at
/// once (e.g. updating two extensions simultaneously) races the native
/// extension manager's goja VM teardown/reload and can hard-crash the app, so
/// they must run strictly one at a time.
/// Serializes install/upgrade so two never race the native VM teardown/reload.
Future<void> _mutationChain = Future<void>.value();
Future<T> _runSerialized<T>(Future<T> Function() action) {