Re: Glib::TimeoutSource and Glib::IOSource
- From: rob page <page rob gmail com>
- To: "pks timing com" <pks timing com>
- Cc: gtkmm-list gnome org
- Subject: Re: Glib::TimeoutSource and Glib::IOSource
- Date: Fri, 13 Jan 2006 07:00:05 +0000
Well, if its any help on my pc it seg faults one step earlier....
rob whisper ~ $ ./a.out
ONCE
creating
connecting
attaching
destroying
TWICE
creating
Segmentation fault
Leaving me with a gut feeling that it might not like the RefPtr being
reinitialised... so i added in a src.clear() at the end of the DoIt
function and it now works.. but with warnings saying that assertion
src!=null failed... So seems like the RefPtr isn't cleaning itself up
properly after the destroy....
Rob.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]