This commit is contained in:
Redkale
2019-01-03 18:33:49 +08:00
parent df8e839580
commit aedd215de4

View File

@@ -79,7 +79,7 @@ public abstract class WebSocketNode {
} }
@Local @Local
public final void postDestroy(AnyValue conf) { protected void postDestroy(AnyValue conf) {
if (this.localEngine == null) return; if (this.localEngine == null) return;
//关掉所有本地本地WebSocket //关掉所有本地本地WebSocket
this.localEngine.getLocalWebSockets().forEach(g -> g.close()); this.localEngine.getLocalWebSockets().forEach(g -> g.close());