Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/embind/test_finalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ Module.onRuntimeInitialized = () => {
const foo1 = new Module.Foo("Constructed from JS");
const foo2 = Module.foo();
const foo3 = Module.pFoo();
setTimeout(gc, 100);
}

setTimeout(gc, 100);
2 changes: 1 addition & 1 deletion tests/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ def test_embind_finalization(self):
self.run_process(
[EMXX,
test_file('embind/test_finalization.cpp'),
'--post-js', test_file('embind/test_finalization.js'),
'--pre-js', test_file('embind/test_finalization.js'),
'--bind']
)
self.node_args += ['--expose-gc']
Expand Down