IOSAD-103 do a real timed dequeue IOSAD-103
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 31 Oct 2018 16:38:25 +0100
branchIOSAD-103
changeset 74724ba765d6d0e
parent 746 dbb0deb87940
child 748 eb3b7b15414d
IOSAD-103 do a real timed dequeue
pEpObjCAdapter/PEPQueue.m
     1.1 --- a/pEpObjCAdapter/PEPQueue.m	Wed Oct 31 16:38:25 2018 +0100
     1.2 +++ b/pEpObjCAdapter/PEPQueue.m	Wed Oct 31 16:38:25 2018 +0100
     1.3 @@ -50,7 +50,7 @@
     1.4      
     1.5      [_cond lock];
     1.6      
     1.7 -    while (_queue && _queue.count == 0)
     1.8 +    if (_queue && _queue.count == 0)
     1.9      {
    1.10          if (*timeout == 0)
    1.11          {