We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e998496 commit 2b5ab2dCopy full SHA for 2b5ab2d
2 files changed
src/lib/libeventloop.js
@@ -339,7 +339,10 @@ LibraryJSEventLoop = {
339
MainLoop.requestAnimationFrame(MainLoop.runner);
340
};
341
MainLoop.method = 'rAF';
342
- } else if (mode == {{{ cDefs.EM_TIMING_SETIMMEDIATE}}}) {
+ } else {
343
+#if ASSERTIONS
344
+ assert(mode == {{{ cDefs.EM_TIMING_SETIMMEDIATE}}});
345
+#endif
346
if (!MainLoop.setImmediate) {
347
if (globalThis.setImmediate) {
348
MainLoop.setImmediate = setImmediate;
test/codesize/test_codesize_hello_dylink_all.json
@@ -1,7 +1,7 @@
1
{
2
- "a.out.js": 244700,
+ "a.out.js": 244691,
3
"a.out.nodebug.wasm": 577696,
4
- "total": 822396,
+ "total": 822387,
5
"sent": [
6
"IMG_Init",
7
"IMG_Load",
0 commit comments