automatic unsubscribe from events to reduce risk of UB
Compare changes
Files
4
src/cpp/util/SubscribableEvent.cpp
0 → 100644
+ 30
− 0
\ No newline at end of file
reworked SubscribableEvent: added capability to unsubscribe event handlers + automatic unsubscription at death of handle => prevent UB on dead handlers fix #2 (closed)