Commit 80595a91 authored by Kai Engert's avatar Kai Engert

Bug 1606992 - Permit sftk_PBELockInit being called multiple times. r=kjacobs

Differential Revision: https://phabricator.services.mozilla.com/D60236

--HG--
extra : moz-landing-system : lando
parent 5b7e4f91
......@@ -573,8 +573,9 @@ static struct {
void
sftk_PBELockInit(void)
{
PORT_Assert(!PBECache.lock);
PBECache.lock = PZ_NewLock(nssIPBECacheLock);
if (!PBECache.lock) {
PBECache.lock = PZ_NewLock(nssIPBECacheLock);
}
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment