mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Issue #1442 - Part 18 - Cycle collect FetchStreamReader. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
This commit is contained in:
parent
e22845913d
commit
b898780bb1
4 changed files with 28 additions and 6 deletions
|
|
@ -922,10 +922,9 @@ FetchBody<Derived>::BodyUsed() const
|
|||
// If this object is disturbed or locked, return false.
|
||||
if (mReadableStreamBody) {
|
||||
AutoJSAPI jsapi;
|
||||
// If we start tracking ownership, we need something like this.
|
||||
//if (!jsapi.Init(mOwner)) {
|
||||
// return true;
|
||||
//}
|
||||
if (!jsapi.Init(mOwner)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
JSContext* cx = jsapi.cx();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue