Skip to content

Commit

Permalink
fix mock registry shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineThreepwood committed Dec 27, 2023
1 parent 18b7798 commit 7a6dc94
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@ public static UnitConfig.Builder generateAppConfig(final String alias, final Str
}

protected void shutdown() {
if (messageRegistryLauncher != null) {
messageRegistryLauncher.shutdown();
}

if (unitRegistryLauncher != null) {
unitRegistryLauncher.shutdown();
}
Expand Down

0 comments on commit 7a6dc94

Please sign in to comment.