Re: [Vala] Problem with Closure in Coroutine
- From: Jürg Billeter <j bitron ch>
- To: mickey vanille-media de
- Cc: Vala-list <Vala-list gnome org>
- Subject: Re: [Vala] Problem with Closure in Coroutine
- Date: Sun, 13 Dec 2009 11:01:12 +0100
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]