Skip to content

Commit

Permalink
Remove unnecessary await in MODULARIZE=instance mode. NFC (#23219)
Browse files Browse the repository at this point in the history
Since the init function is already marks as async it fine/better to
simply return the promise here rather than awaiting on it.
  • Loading branch information
sbc100 authored Dec 18, 2024
1 parent 93d2f8d commit adb972c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -2403,7 +2403,7 @@ def modularize():
%(generated_js)s
return await moduleRtn;
return moduleRtn;
}
''' % {
'generated_js': generated_js
Expand Down

0 comments on commit adb972c

Please sign in to comment.