Calling removeTrack with RTCRtpSender does not set SenderTrack to null
[WebKit-https.git] / Source / WebCore / Modules / mediastream / RTCRtpSender.h
index 30e958b..8958df6 100644 (file)
@@ -56,7 +56,7 @@ public:
     void setMediaStreamIds(Vector<String>&& mediaStreamIds) { m_mediaStreamIds = WTFMove(mediaStreamIds); }
 
     bool isStopped() const { return !m_backend; }
-    void stop() { m_backend = nullptr; }
+    void stop();
     void setTrack(Ref<MediaStreamTrack>&&);
     void setTrackToNull();