mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 1814215: Add a release assert r=valentin,necko-reviewers, a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D179449
This commit is contained in:
parent
f62116c417
commit
fb367e8e16
@ -88,6 +88,7 @@ nsHttpChannelAuthProvider::nsHttpChannelAuthProvider()
|
||||
mHttpHandler(gHttpHandler) {}
|
||||
|
||||
nsHttpChannelAuthProvider::~nsHttpChannelAuthProvider() {
|
||||
MOZ_RELEASE_ASSERT(NS_IsMainThread());
|
||||
MOZ_ASSERT(!mAuthChannel, "Disconnect wasn't called");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user