mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +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
|
|
@ -348,7 +348,6 @@ NS_IMETHODIMP
|
|||
CacheFileInputStream::Seek(int32_t whence, int64_t offset)
|
||||
{
|
||||
CacheFileAutoLock lock(mFile);
|
||||
mFile->AssertOwnsLock(); // For thread-safety analysis
|
||||
|
||||
LOG(("CacheFileInputStream::Seek() [this=%p, whence=%d, offset=%lld]",
|
||||
this, whence, offset));
|
||||
|
|
@ -396,7 +395,6 @@ NS_IMETHODIMP
|
|||
CacheFileInputStream::Tell(int64_t *_retval)
|
||||
{
|
||||
CacheFileAutoLock lock(mFile);
|
||||
mFile->AssertOwnsLock(); // For thread-safety analysis
|
||||
|
||||
if (mClosed) {
|
||||
LOG(("CacheFileInputStream::Tell() - Stream is closed. [this=%p]", this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue