Re: gstmm add element to pipeline test



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.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]