mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-17 18:03:06 +09:00
[xpcom] remove incorrect assertion.
See https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095#issuecomment-33796
This commit is contained in:
parent
d89f4e1454
commit
8bf892d728
1 changed files with 1 additions and 3 deletions
|
|
@ -623,13 +623,11 @@ TimerThread::AddTimerInternal(nsTimerImpl* aTimer)
|
|||
return insertSlot - mTimers.Elements();
|
||||
}
|
||||
|
||||
// This function must be called from within a lock.
|
||||
// Also: we hold the mutex for the nsTimerImpl.
|
||||
// Note: this function must be called from within a lock.
|
||||
bool
|
||||
TimerThread::RemoveTimerInternal(nsTimerImpl* aTimer)
|
||||
{
|
||||
mMonitor.AssertCurrentThreadOwns();
|
||||
aTimer->mMutex.AssertCurrentThreadOwns();
|
||||
if (!mTimers.RemoveElement(aTimer)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue