mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[EXPLORER]
We need to leave one slot available for the m_WakeUpEvent handle
This commit is contained in:
parent
be2bf9b8c5
commit
cb8cc0d098
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public:
|
||||||
// The likelyhood of someone having more than 64 icons in their tray is
|
// The likelyhood of someone having more than 64 icons in their tray is
|
||||||
// pretty slim. We could spin up a new thread for each multiple of 64, but
|
// pretty slim. We could spin up a new thread for each multiple of 64, but
|
||||||
// it's not worth the effort, so we just won't bother watching those icons
|
// it's not worth the effort, so we just won't bother watching those icons
|
||||||
if (m_WatcherList.GetCount() <= MAXIMUM_WAIT_OBJECTS)
|
if (m_WatcherList.GetCount() < MAXIMUM_WAIT_OBJECTS)
|
||||||
{
|
{
|
||||||
m_WatcherList.AddTail(Icon);
|
m_WatcherList.AddTail(Icon);
|
||||||
SetEvent(m_WakeUpEvent);
|
SetEvent(m_WakeUpEvent);
|
||||||
|
|
Loading…
Reference in a new issue