Skip to content

Commit

Permalink
BL-1142
Browse files Browse the repository at this point in the history
  • Loading branch information
bdw429s committed Feb 28, 2025
1 parent 809054f commit 5b8b285
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,10 @@ public void removeApplication( Key name ) {
public void shutdownApplication( Key name ) {
Application thisApp = this.applications.get( name );
if ( thisApp != null ) {
thisApp.shutdown( false );
// remove it first so no one else can access it while it's shutting down
this.applications.remove( name );
// nuke it
thisApp.shutdown( false );
}

logger.trace( "ApplicationService.shutdownApplication() - {}", name );
Expand Down

0 comments on commit 5b8b285

Please # to comment.