Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37761168
en ru br
ALT Linux repos
S:118.0-alt1
5.0: 3.0.9-alt1.M50.1
4.1: 3.0.9-alt0.M41.1
+updates:3.0.4-alt0.M41.2
4.0: 2.0.0.18-alt0.M40.1
3.0: 1.0.7-alt3
+updates:1.0.8-alt0.M30.1

Group :: Networking/WWW
RPM: firefox

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: firefox-mediasource-crash.patch
Download


diff --git a/mozilla/dom/media/MediaEventSource.h b/mozilla/dom/media/MediaEventSource.h
index cd5ad25..aa31f53 100644
--- a/mozilla/dom/media/MediaEventSource.h
+++ b/mozilla/dom/media/MediaEventSource.h
@@ -339,8 +339,10 @@ public:
   }
 
   void Disconnect() {
-    mToken->Revoke();
-    mToken = nullptr;
+    if (mToken != nullptr) {
+      mToken->Revoke();
+      mToken = nullptr;
+    }
   }
 
 private:
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin