FIX: fixed high cpu ussage
This commit is contained in:
@@ -192,11 +192,11 @@ namespace TrackList
|
||||
}
|
||||
|
||||
lock.unlock() ;
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
lock.lock();
|
||||
}
|
||||
|
||||
lock.unlock();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
lock.release();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user