mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-27 09:48:38 +09:00
Refactor PerformanceObserver to use hash tables for entry type validation and improve ThrottleInputStream state management
This commit is contained in:
parent
cd020e380d
commit
a2a4c62a9b
4 changed files with 55 additions and 12 deletions
|
|
@ -354,8 +354,7 @@ TimerThread::Shutdown()
|
|||
// might potentially call some code reentering the same lock
|
||||
// that leads to unexpected behavior or deadlock.
|
||||
// See bug 422472.
|
||||
timers.AppendElements(mTimers);
|
||||
mTimers.Clear();
|
||||
timers.SwapElements(mTimers);
|
||||
}
|
||||
|
||||
uint32_t timersCount = timers.Length();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue