mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
No Issue - add mutex in EventSource
Potentially avoids a gc crash when load is high.
This commit is contained in:
parent
c68105436b
commit
6c37943e1c
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ public:
|
|||
|
||||
bool IsClosed()
|
||||
{
|
||||
MutexAutoLock lock(mMutex);
|
||||
return ReadyState() == CLOSED;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue