mirror of https://github.com/deavmi/eventy.git
Fixed error where no queues could be added
This commit is contained in:
parent
206775937e
commit
7b835b39de
|
@ -251,9 +251,8 @@ public final class Engine : Thread
|
|||
/* Lock the queue collection */
|
||||
queueLock.lock();
|
||||
|
||||
/* TODO: Check for duplicate queue */
|
||||
/* If no such queue exists (recursive mutex used) */
|
||||
if(findQueue(id))
|
||||
/* If no such queue exists then add it (recursive mutex used) */
|
||||
if(!findQueue(id))
|
||||
{
|
||||
/* Add the queue */
|
||||
queues ~= newQueue;
|
||||
|
|
Loading…
Reference in New Issue