Skip to content

Commit b1907ce

Browse files
authored
callUserCallback: early-out if runtimeExited (#15256)
1 parent 41c24d4 commit b1907ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/library.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3530,9 +3530,9 @@ LibraryManager.library = {
35303530
#endif
35313531
],
35323532
$callUserCallback: function(func, synchronous) {
3533-
if (ABORT) {
3533+
if (runtimeExited || ABORT) {
35343534
#if ASSERTIONS
3535-
err('user callback triggered after application aborted. Ignoring.');
3535+
err('user callback triggered after runtime exited or application aborted. Ignoring.');
35363536
#endif
35373537
return;
35383538
}

0 commit comments

Comments
 (0)