Skip to content

Commit 71c3878

Browse files
committed
itest: runner must call on_finished deferred
follow godot-rust/gdext#1095
1 parent 1b1e381 commit 71c3878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

itest/rust/src/framework/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl IntegrationTests {
109109
);
110110

111111
// Calling deferred to break a potentially synchronous call stack and avoid re-entrancy.
112-
on_finished.call(&[result.to_variant()]);
112+
on_finished.call_deferred(&[result.to_variant()]);
113113
};
114114

115115
Self::run_async_rust_tests(

0 commit comments

Comments
 (0)