We should handle control module thread specially in the following way:
Start it separately (in init(), start() & run_all_threaded())
DO NOT pause/play it in PipeLine::pause() / PipeLine::play() because we need control module running even when pipeline is paused for it to process commands
Handle it separately in PipeLine::stop() & PipeLine::wait_for_all() methods
Describe the bug We add control module in a pipeline via the PipeLine interface using
addControlModule
method.To Reproduce Steps to reproduce the behavior:
Expected behavior We should handle the pipeline end for control module gracefully