sigslot
sigslot copied to clipboard
Potential memory leak when weak_ptr compatible object used.
When signal connected to multiple shared_ptr objects there is no way to delete dead slots with dead objects without invoking slots. Every signal::connect call will increase slot instances. I think signal::connect with weak_ptr should check for dead slots and remove them.