mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
0c447f4055
This fixes the case where the effect vanishes, but we still hold an invalid pointer to a parameter of that effect. With the new code, the effect will not vanish as long as an effect pointer exists. However, all effects must be created either through std::shared_ptr or std::make_shared. If they were not made through one of those means, the code will crash on the ->shared_from_this() call. |
||
---|---|---|
.. | ||
gs | ||
obs-source-tracker.cpp | ||
obs-source-tracker.hpp | ||
obs-source.cpp | ||
obs-source.hpp | ||
obs-tools.cpp | ||
obs-tools.hpp |