Closed douglascordeiro closed 5 years ago
See https://github.com/Montellese/cpp-signal#managed-connections. Just derive your class from cpp_signal<>::slot_tracker
and it should automatically take care of disconnecting all slots of the class' instances upon destruction.
Hi.
There is some way to do a slot auto disconnection when the slot object is no long available?