Try fix Task was not found in task queue

This commit is contained in:
Nikolai Kochetov 2021-01-12 18:20:56 +03:00
parent 3b95ee8e60
commit 0aad1de330

View File

@ -139,7 +139,6 @@ PollingQueue::TaskData PollingQueue::wait(std::unique_lock<std::mutex> & lock)
void PollingQueue::finish()
{
is_finished = true;
tasks.clear();
uint64_t buf = 0;
while (-1 == write(pipe_fd[1], &buf, sizeof(buf)))