Skip to content

Commit

Permalink
Revert "Fix not calling App::finish and App::cleanup in `Schedule…
Browse files Browse the repository at this point in the history
…RunnerPlugin` (bevyengine#9054)"

This reverts commit f213c14.
  • Loading branch information
B-head committed Jul 9, 2023
1 parent 8ba9571 commit d2904d0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/bevy_app/src/schedule_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ impl Plugin for ScheduleRunnerPlugin {
fn build(&self, app: &mut App) {
let run_mode = self.run_mode;
app.set_runner(move |mut app: App| {
while !app.ready() {
#[cfg(not(target_arch = "wasm32"))]
bevy_tasks::tick_global_task_pools_on_main_thread();
}
app.finish();
app.cleanup();

let mut app_exit_event_reader = ManualEventReader::<AppExit>::default();
match run_mode {
RunMode::Once => {
Expand Down

0 comments on commit d2904d0

Please sign in to comment.