On Thu, 2007-12-06 at 12:31 -0500, José Alburquerque wrote:
What happens is that the signal is only emitted once no matter how
many
times add_signal_watch is called. However, unless
remove_signal_watch
is called the same number of times it appears that a reference to the
Bus is kept and the Bus will not be destroyed.
That does seem very odd and useless. I suggest that we just make sure
that we call remove_signal_watch() enough times in our destructor,
adding to a count whenever add_signal_watch() is called.