Skip to content

Commit

Permalink
Fixed telescope destroy causing process exit in coroutine-style ser…
Browse files Browse the repository at this point in the history
…vices (#742)
  • Loading branch information
guandeng authored Nov 16, 2024
1 parent c895527 commit e412efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telescope/src/Controller/EntriesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function destroy(): void
$application = ApplicationContext::getContainer()->get(ApplicationInterface::class);
$application->setAutoExit(false);
$application->run(
new ArrayInput(['command' => 'telescope:clear'])
new ArrayInput(['command' => 'telescope:clear', '--disable-event-dispatcher' => true])
);
}
}

0 comments on commit e412efb

Please sign in to comment.