This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user