Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Crash when output is switched on (#168)
Currently, `chosen_output` is a pointer to an element in the `available_outputs` vector. When an output is plugged in or switched on, this vector grows, is reallocated and `chosen_output` becomes invalid, resulting in a segmentation fault. Fixing this by using `std::list` instead of std::vector` for `available_outputs`.
- Loading branch information