We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ebbf7a commit 3a51dd1Copy full SHA for 3a51dd1
bridge/src/bridge_audio_track.cpp
@@ -110,7 +110,7 @@ void BridgeAudioTrack::release() {
110
released_ = true;
111
112
// Unpublish the track from the room
113
- if (participant_ && track_) {
+ if (participant_ && track_ && track_->publication()) {
114
try {
115
participant_->unpublishTrack(track_->publication()->sid());
116
} catch (...) {
bridge/src/bridge_video_track.cpp
@@ -109,7 +109,7 @@ void BridgeVideoTrack::release() {
109
0 commit comments