mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-10-24 05:42:39 +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. |
||
---|---|---|
.. | ||
filters | ||
gfx | ||
obs | ||
sources | ||
plugin.cpp | ||
plugin.hpp | ||
strings.hpp | ||
util-event.cpp | ||
util-event.hpp | ||
util-math.cpp | ||
util-math.hpp | ||
util-memory.cpp | ||
util-memory.hpp | ||
utility.cpp | ||
utility.hpp |