@ives_xxz/framework 2.0.14 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -83,7 +83,6 @@ class MockWebSocket {
|
|
|
83
83
|
|
|
84
84
|
class WebSocketMockServer {
|
|
85
85
|
private clients: Set<MockWebSocket> = new Set();
|
|
86
|
-
private broadcastIntervals: any[] = [];
|
|
87
86
|
private static instance: WebSocketMockServer;
|
|
88
87
|
|
|
89
88
|
public mockResponses = {};
|
|
@@ -161,8 +160,6 @@ class WebSocketMockServer {
|
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
public stop(): void {
|
|
164
|
-
this.broadcastIntervals.forEach((interval) => clearInterval(interval));
|
|
165
|
-
this.broadcastIntervals = [];
|
|
166
163
|
this.clients.clear();
|
|
167
164
|
FW.Log.system('🛑 WebSocket 模拟服务器已停止');
|
|
168
165
|
}
|