mirror of https://github.com/Xaymar/obs-StreamFX
29ab00633c
The util::event code suffers from the problem that it could call into a class that no longer exists, corrupting memory or even crashing. By tracking lifetime using std::weak_ptr<void> this can be avoided and the dead listeners can be automatically removed. |
||
---|---|---|
.. | ||
filters | ||
gfx | ||
obs | ||
sources | ||
utility | ||
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 |