From 87d2d0f19020468e338294cf6704e0061a90c27b Mon Sep 17 00:00:00 2001 From: Ole Date: Sun, 14 Jun 2026 16:23:44 +0200 Subject: [PATCH] Fix: _pendingPeer nach Promote nullen, sonst killt _createPendingPeer die Live-Connection nach 300ms --- p2p.js | 1 + 1 file changed, 1 insertion(+) diff --git a/p2p.js b/p2p.js index 0bf55ea..e48c482 100644 --- a/p2p.js +++ b/p2p.js @@ -233,6 +233,7 @@ class MeshNet { if (this._pendingPeer && this._pendingPeer.peer === peer) { this._pendingPeer.peerId = msg.peerId; this._pendingPeer.connected = true; + this._pendingPeer = null; if (this.onpeerconnect) this.onpeerconnect(msg.peerId); if (this.isHost) { setTimeout(() => this._createPendingPeer(), 300);