mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1121672 - Make CacheFile::IsDoomed() protect mHandle with lock, r=michal
This commit is contained in:
parent
cdacf2996f
commit
bc7deb81b7
@ -1783,6 +1783,8 @@ CacheFile::DataSize(int64_t* aSize)
|
||||
bool
|
||||
CacheFile::IsDoomed()
|
||||
{
|
||||
CacheFileAutoLock lock(this);
|
||||
|
||||
if (!mHandle)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user