* Tead down connections to remote peer and signaling server.
()
| 125 | * Tead down connections to remote peer and signaling server. |
| 126 | */ |
| 127 | async disconnect() { |
| 128 | if (this._peer) { |
| 129 | this._peer.destroy() |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | private _setSignalingServiceConnectionHandlers (peer: Peer, setupResolve: Function, setupReject: Function) { |
| 134 | // isSetupResolved indicates whether the setupReady promise has been resolved or rejected |
nothing calls this directly
no outgoing calls
no test coverage detected