Re: [Vala] Problem with Closure in Coroutine



On Sat, 2009-12-12 at 19:18 +0100, Michael 'Mickey' Lauer wrote:
The problem seems to be that the data for the closure
(_data_->_data2_)
gets unref'ed when the function ends; however Gst is calling the
callback later on and then the instance is 0x0. The C code for this
function is:

Can you check whether it works if you use add_watch_full() instead of
add_watch()?

Jürg




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