Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
This commit is contained in:
@@ -1500,8 +1500,10 @@ ScriptLoader::ProcessOffThreadRequest(ScriptLoadRequest* aRequest)
|
||||
NotifyOffThreadScriptLoadCompletedRunnable::~NotifyOffThreadScriptLoadCompletedRunnable()
|
||||
{
|
||||
if (MOZ_UNLIKELY(mRequest || mLoader) && !NS_IsMainThread()) {
|
||||
NS_ReleaseOnMainThread(mRequest.forget());
|
||||
NS_ReleaseOnMainThread(mLoader.forget());
|
||||
NS_ReleaseOnMainThread(
|
||||
"NotifyOffThreadScriptLoadCompletedRunnable::mRequest", mRequest.forget());
|
||||
NS_ReleaseOnMainThread(
|
||||
"NotifyOffThreadScriptLoadCompletedRunnable::mLoader", mLoader.forget());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user