mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +09:00
Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver.
This commit is contained in:
parent
d3a845d2fc
commit
44998d1f5b
3 changed files with 9 additions and 8 deletions
|
|
@ -3371,7 +3371,8 @@ MediaStreamGraphImpl::Destroy()
|
|||
// First unregister from memory reporting.
|
||||
UnregisterWeakMemoryReporter(this);
|
||||
|
||||
// Clear the self reference which will destroy this instance.
|
||||
// Clear the self reference which will destroy this instance if all
|
||||
// associated GraphDrivers are destroyed.
|
||||
mSelfRef = nullptr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue