Skip to content

Commit

Permalink
Fixed the PeerConnection::close() implementation.
Browse files Browse the repository at this point in the history
The wrong class qualifier was used.
  • Loading branch information
Gert-Jan authored Feb 21, 2025
1 parent aa8f123 commit de9935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm/src/peerconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ PeerConnection::PeerConnection(const Configuration &config) {

PeerConnection::~PeerConnection() { close(); }

void DataChannel::close() {
void PeerConnection::close() {
if (mId) {
rtcDeletePeerConnection(mId);
mId = 0;
Expand Down

0 comments on commit de9935b

Please sign in to comment.