Skip to content

Commit

Permalink
shutdown RollManager before ResourceWatcher (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
sambish5 committed May 1, 2024
1 parent 585c785 commit c77eea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/emissary/server/EmissaryServer.java
Expand Up @@ -366,6 +366,8 @@ public static void stopServer(final String name, final boolean force, final bool
}
LOG.info("Done stopping all places");

RollManager.shutdown();

// Print the stats
try {
ResourceWatcher rw = ResourceWatcher.lookup();
Expand All @@ -383,8 +385,6 @@ public static void stopServer(final String name, final boolean force, final bool

SPILoader.unload();

RollManager.shutdown();

LOG.info("Done stopping all services");

// thread dump now
Expand Down

0 comments on commit c77eea7

Please sign in to comment.