beatwave
beatwave copied to clipboard
Investigate Sigmentation Fault on using PathCorrectors by value
Split from #12
Replace std::vector<std::unique_ptr<PathCorrector>>
with std::vector<PathCorrector>
. Observe that Player doesn't interact with path correctors anymore and sometimes the application sigfaults when the player dies.
We need to investigate why exactly this happens.
https://github.com/rexim/beatwave/blob/dc8ab4f0bfcf2c592b87f1bbe9df6b12f3297d25/src/beatwave/pathcorrectorswarm.hpp#L27