Skip to content

Commit

Permalink
Remove force termination
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner committed Nov 8, 2024
1 parent 93da0da commit 9cc4783
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/kernel/source/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,7 @@ export class Application implements Contracts.Kernel.Application {
this.#booted = false;

if (this.#terminating) {
this.get<Contracts.Kernel.Logger>(Identifiers.Services.Log.Service).warning(
"Force application termination. Graceful shutdown was interrupted.",
);
exit(1);
return new Promise(() => {});
}
this.#terminating = true;

Expand Down

0 comments on commit 9cc4783

Please sign in to comment.