Skip to content

Commit

Permalink
Update NDC to 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Nov 7, 2024
1 parent 7c37b77 commit 574a5bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"import-sync": "^2.2.0",
"lodash": "^4.17.21",
"mockttp": "^3.2.1",
"node-datachannel": "^0.5.3",
"node-datachannel": "^0.12.0",
"performance-now": "^2.1.0",
"sdp-transform": "^2.14.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/webrtc/rtc-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export class RTCConnection extends EventEmitter {
this.localDescription = undefined;

if (rawConn.state() === 'closed') return;
rawConn.destroy();
rawConn.close();
this.emit('connection-closed');
}

Expand Down

0 comments on commit 574a5bc

Please sign in to comment.