mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 805013 - Paper over the browser-chrome crashes from certain circumstances that run ~RasterImage off the main thread. r=joe
This commit is contained in:
parent
7155c4fc5f
commit
27b8218689
@ -421,7 +421,9 @@ RasterImage::~RasterImage()
|
|||||||
num_containers--;
|
num_containers--;
|
||||||
total_source_bytes -= mSourceData.Length();
|
total_source_bytes -= mSourceData.Length();
|
||||||
|
|
||||||
DiscardTracker::Remove(&mDiscardTrackerNode);
|
if (NS_IsMainThread()) {
|
||||||
|
DiscardTracker::Remove(&mDiscardTrackerNode);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user