Skip to content

Commit

Permalink
refactor(kernel): remove force termination (#757)
Browse files Browse the repository at this point in the history
* Remove force termination

* Empty commit
  • Loading branch information
sebastijankuzner authored Nov 11, 2024
1 parent d5819c6 commit 6d6ba7e
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 6d6ba7e

Please sign in to comment.