We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94b36c0 commit 084611fCopy full SHA for 084611f
src/library_async.js
@@ -156,7 +156,9 @@ addToLibrary({
156
} finally {
157
if (!ABORT) {
158
var y = Asyncify.exportCallStack.pop();
159
+#if ASSERTIONS
160
assert(y === x);
161
+#endif
162
#if ASYNCIFY_DEBUG >= 2
163
dbg(`ASYNCIFY: ${' '.repeat(Asyncify.exportCallStack.length)} finally ${x}`);
164
#endif
test/test_core.py
@@ -8311,6 +8311,7 @@ def test_vswprintf_utf8(self):
8311
# longjmp or exceptions.
8312
def test_asyncify_longjmp(self):
8313
self.set_setting('ASYNCIFY')
8314
+ self.set_setting('STRICT')
8315
self.do_core_test('test_asyncify_longjmp.c')
8316
8317
# Test that a main with arguments is automatically asyncified.
0 commit comments