This commit is contained in:
Redkale
2017-05-02 08:09:01 +08:00
parent f587e13bdc
commit d800a33ded
2 changed files with 5 additions and 0 deletions

View File

@@ -49,6 +49,10 @@ public abstract class WebSocketNode {
}
public void destroy(AnyValue conf) {
}
public final void postDestroy(AnyValue conf) {
HashMap<Serializable, Set<String>> nodes = new HashMap<>(localNodes);
nodes.forEach((k, v) -> {

View File

@@ -30,6 +30,7 @@ public class WebSocketNodeService extends WebSocketNode implements Service {
@Override
public void destroy(AnyValue conf) {
super.destroy(conf);
}
@Override