mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 666997 - Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait() r=biesi
This commit is contained in:
parent
03e38d47bb
commit
c7c89d6a3e
@ -172,6 +172,9 @@ nsPreloadedStream::AsyncWait(nsIInputStreamCallback *aCallback,
|
||||
return mStream->AsyncWait(aCallback, aFlags, aRequestedCount,
|
||||
aEventTarget);
|
||||
|
||||
if (!aCallback)
|
||||
return NS_OK;
|
||||
|
||||
if (!aEventTarget)
|
||||
return aCallback->OnInputStreamReady(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user