Bug 1660555 - Let AbortSignal grab strong references to its followers r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D136447
This commit is contained in:
Kagami Sascha Rosylight
2022-01-21 14:40:39 +00:00
parent 5af4408463
commit e1716b5a55
4 changed files with 33 additions and 10 deletions

View File

@@ -909,6 +909,7 @@ void FetchDriver::FailWithNetworkError(nsresult rv) {
}
mChannel = nullptr;
Unfollow();
}
NS_IMETHODIMP
@@ -1438,6 +1439,7 @@ void FetchDriver::FinishOnStopRequest(
}
mChannel = nullptr;
Unfollow();
}
NS_IMETHODIMP