mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 781892 - Clear mImageQueue when setIdle or shuting down. r=cjones
This commit is contained in:
parent
b537d68146
commit
ed13eb8ba9
@ -66,6 +66,7 @@ void ImageContainerChild::SetIdleNow()
|
||||
|
||||
SendFlush();
|
||||
ClearSharedImagePool();
|
||||
mImageQueue.Clear();
|
||||
}
|
||||
|
||||
void ImageContainerChild::DispatchSetIdle()
|
||||
@ -375,6 +376,7 @@ void ImageContainerChild::DestroyNow()
|
||||
"Incorrect state in the destruction sequence.");
|
||||
|
||||
ClearSharedImagePool();
|
||||
mImageQueue.Clear();
|
||||
|
||||
// will decrease the refcount and, in most cases, delete the ImageContainerChild
|
||||
Send__delete__(this);
|
||||
|
Loading…
Reference in New Issue
Block a user