Bug 881237: mLock released before logging the warning. r=bsmedberg