We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fc5a2 commit 94774d4Copy full SHA for 94774d4
pc/peer_connection.cc
@@ -543,6 +543,10 @@ PeerConnection::~PeerConnection() {
543
sdp_handler_->PrepareForShutdown();
544
}
545
546
+ // In case `Close()` wasn't called, always make sure the controller cancels
547
+ // potentially pending operations.
548
+ data_channel_controller_.PrepareForShutdown();
549
+
550
// Need to stop transceivers before destroying the stats collector because
551
// AudioRtpSender has a reference to the LegacyStatsCollector it will update
552
// when stopping.
0 commit comments