
5 Jun
2007
5 Jun
'07
10:54 a.m.
Hi, I'm using the signal library in my application. However if I call disconnect() on my connection object the connection is not removed. Is this default behaviour? I would like not having this behaviour because the signal is connected to a member function within an object that is actually deleted. Any ideas? Regards, Christian

5 Jun
5 Jun
2:42 p.m.
On Jun 5, 2007, at 6:54 AM, Christian Mol wrote:
That's strange. Calling disconnect() on a connection object will disconnect the signal from the slot, so that the slot will not be invoked. The connection itself will be deallocated when it is safe to do so. If this isn't the behavior you are seeing, it might be a bug in Signals. - Doug
6572
Age (days ago)
6574
Last active (days ago)
2 comments
2 participants
participants (2)
-
Christian Mol
-
Douglas Gregor