Skip to content

Commit 2a67aae

Browse files
committed
store [nfc]: Mark unawaited future from unused Map.remove return value
Signed-off-by: Zixuan James Li <[email protected]>
1 parent ba0aaca commit 2a67aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ abstract class GlobalStore extends ChangeNotifier {
119119
_perAccountStoresLoading[accountId] = future;
120120
store = await future;
121121
_setPerAccount(accountId, store);
122-
_perAccountStoresLoading.remove(accountId);
122+
unawaited(_perAccountStoresLoading.remove(accountId));
123123
return store;
124124
}
125125

0 commit comments

Comments
 (0)