For this to work properly, dg has to be exactly the same as
the one passed to connect. So if you used a lamda you have to
keep a reference to it somewhere if you want to disconnect
the connection later on. If you want to remove all
connections to a particular object, use the overload which only
takes an object parameter.
Disconnect an indirect connection.
For this to work properly, dg has to be exactly the same as the one passed to connect. So if you used a lamda you have to keep a reference to it somewhere if you want to disconnect the connection later on. If you want to remove all connections to a particular object, use the overload which only takes an object parameter.