obs-StreamFX/source/utility
Michael Fabian 'Xaymar' Dirks 29ab00633c utility-event: Safer event handling with proper lifetime
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.
2019-09-04 16:36:32 +02:00
..
utility-event.cpp utility-event: Safer event handling with proper lifetime 2019-09-04 16:36:32 +02:00
utility-event.hpp utility-event: Safer event handling with proper lifetime 2019-09-04 16:36:32 +02:00