Clear the executor at the end of a test by running until it is parked
This commit is contained in:
@@ -84,6 +84,7 @@ pub fn run_test(
|
||||
)
|
||||
});
|
||||
|
||||
deterministic.run_until_parked();
|
||||
leak_detector.lock().detect();
|
||||
if is_last_iteration {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user