Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed May 7, 2024
1 parent 985a872 commit 88ed3ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@geckos.io/common": "^3.0.0",
"@yandeu/events": "0.0.6",
"node-datachannel": "0.6.0"
"node-datachannel": "0.7.0"
},
"funding": {
"url": "https://github.com/sponsors/yandeu"
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/wrtc/nodeDataChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const createPeerConnection = (peerName: string, config: RtcConfig): Promi
export const closePeerConnection = (peerConnection: PeerConnection): Promise<void> => {
return new Promise(resolve => {
if (peerConnection) {
peerConnection.destroy()
peerConnection.close()
resolve()
} else {
resolve()
Expand Down

0 comments on commit 88ed3ca

Please sign in to comment.