fix(core): prevent race condition in serviceTest
Description
There was a possible race condition in ObjectService::unregisterServiceOutput()
, we sent the signals "unregistered" before really erasing the output from the list.
Closes #318 (closed)
How to test it?
- Launch ServiceTest
- Many Many times:
ctest --repeat until-fail:99999 --output-on-failure --stop-on-failure -j 12 -R service
(If you need some specific tests/tasks...)
- [ ] Additional test 1
- [ ] ...