We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a82e6e commit 352c463Copy full SHA for 352c463
restx-core/src/main/java/restx/RestxMainRouterFactory.java
@@ -70,6 +70,7 @@ public static synchronized void clear(String serverId) {
70
routers.remove(serverId);
71
Optional<Factory> factory = Factory.getFactory(serverId);
72
if (factory.isPresent()) {
73
+ factory.get().close();
74
Factory.unregister(serverId, factory.get());
75
}
76
0 commit comments