Skip to content
Snippets Groups Projects
Commit feffaf44 authored by Niccolò Betto's avatar Niccolò Betto
Browse files

[TaskScheduler] Manually lock/unlock mutex in addTask and disableTask

The use of RAII classes to lock/unlock the mutex in the aforementioned
functions causes undesired re-locking/unlocking in the case of an
early return, because of the way RAII works. Avoid this by manually
locking and unlocking the mutex.
parent d3bc8b55
No related branches found
No related tags found
1 merge request!91[TaskScheduler] Improved task scheduler efficiency and minor bugs fix
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment