Do not unlock the mutex manually since we are using a MutexLocker.
Unlocking a mutex twice seems to cause deadlocks on OS X if we stress the library. Windows seems unaffected. See #260.
This commit is contained in:
parent
9d5af14609
commit
d0b1dbba0e
1 changed files with 0 additions and 1 deletions
|
@ -196,7 +196,6 @@ void TellStick::run() {
|
|||
}
|
||||
FT_GetQueueStatus(d->ftHandle, &dwBytesInQueue);
|
||||
if (dwBytesInQueue < 1) {
|
||||
d->mutex.unlock();
|
||||
continue;
|
||||
}
|
||||
buf = reinterpret_cast<char*>(malloc(sizeof(buf) * (dwBytesInQueue+1)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue