@shogo-ai/worker 1.8.11 → 1.8.13

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/src/lib/tunnel.ts CHANGED
@@ -202,10 +202,6 @@ export class WorkerTunnel {
202
202
  this.pollTimer = null;
203
203
  }
204
204
  this.cleanupWs();
205
- if (this.ws) {
206
- try { this.ws.close(1000, 'Tunnel stopped'); } catch { /* already closed */ }
207
- this.ws = null;
208
- }
209
205
  this.log.log('[WorkerTunnel] Tunnel stopped');
210
206
  }
211
207