forked from mirrors/gecko-dev
Bug 1951494 - ensure socket control is released on the socket thread a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D240234 Differential Revision: https://phabricator.services.mozilla.com/D241059
This commit is contained in:
parent
3298ef52f1
commit
72855d5669
1 changed files with 3 additions and 0 deletions
|
|
@ -1156,6 +1156,9 @@ SSLServerCertVerificationResult::Run() {
|
|||
}
|
||||
|
||||
mSocketControl->SetCertVerificationResult(mFinalError);
|
||||
// Release this reference to the socket control so that it will be freed on
|
||||
// the socket thread.
|
||||
mSocketControl = nullptr;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue