mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Revert "[network] Improve thread-safety of cache entry handling."
This reverts commit 9299c2e2ea.
This commit is contained in:
parent
3636940b3a
commit
1d6c0f2e87
8 changed files with 105 additions and 141 deletions
|
|
@ -472,7 +472,6 @@ void
|
|||
CacheFileChunk::WaitForUpdate(CacheFileChunkListener *aCallback)
|
||||
{
|
||||
AssertOwnsLock();
|
||||
mFile->AssertOwnsLock(); // For thread-safety analysis
|
||||
|
||||
LOG(("CacheFileChunk::WaitForUpdate() [this=%p, listener=%p]",
|
||||
this, aCallback));
|
||||
|
|
@ -587,7 +586,6 @@ void
|
|||
CacheFileChunk::UpdateDataSize(uint32_t aOffset, uint32_t aLen)
|
||||
{
|
||||
AssertOwnsLock();
|
||||
mFile->AssertOwnsLock(); // For thread-safety analysis
|
||||
|
||||
// UpdateDataSize() is called only when we've written some data to the chunk
|
||||
// and we never write data anymore once some error occurs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue