Skip to content

Commit 74f44ed

Browse files
committed
Update handling of flag changes to not wait for Promise
1 parent 28e6e42 commit 74f44ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ function initialize(env, context, specifiedOptions, platform, extraOptionDefs) {
942942

943943
delete flagOverrides[key];
944944
notifyInspectionFlagChanged({ key }, realFlag);
945-
handleFlagChanges(mods);
945+
handleFlagChanges(mods); // don't wait for this Promise to be resolved
946946
}
947947
}
948948

@@ -958,7 +958,7 @@ function initialize(env, context, specifiedOptions, platform, extraOptionDefs) {
958958
flagOverrides = {};
959959

960960
if (Object.keys(mods).length > 0) {
961-
handleFlagChanges(mods);
961+
handleFlagChanges(mods); // don't wait for this Promise to be resolved
962962
}
963963
}
964964

0 commit comments

Comments
 (0)