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

[TaskScheduler] Improve resource locking to avoid race conditions

* Lock the mutex before checking for the amount of tasks in `enableTask` and `disableTask`
* Lock the scheduler prior to starting it, to avoid populating the agenda more than one time
parent a1fb5693
Loading
Checking pipeline status
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