Bug 405025 ASSERT_VALID_LOCK failed

r=gijs a=dsicore


git-svn-id: svn://10.0.0.236/trunk@246534 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2008-02-26 15:07:05 +00:00
parent d78e39744b
commit f3212eaff6

View File

@@ -161,9 +161,8 @@ jsd_Unlock(JSDStaticLock* lock)
/* it's an error to unlock a lock you don't own */
JS_ASSERT(lock->owner == me);
if(lock->owner != me)
{
return;
}
if(--lock->count == 0)
{
lock->owner = NULL;