Skip to content

Commit c9d8f52

Browse files
authored
Merge pull request #1095 from TitanNano/jovan/fix_focus_test
itest runner must call on_finished deferred
2 parents 3548d0d + 70ebc91 commit c9d8f52

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
@@ -140,7 +140,7 @@ impl IntegrationTests {
140140
);
141141

142142
// Calling deferred to break a potentially synchronous call stack and avoid re-entrancy.
143-
on_finished.call(&[result.to_variant()]);
143+
on_finished.call_deferred(&[result.to_variant()]);
144144
};
145145

146146
Self::run_async_rust_tests(

0 commit comments

Comments
 (0)