Re: g_main_dispatch frees objects for input_callback before using them (how to prevent it?)
- From: Thomas DEBESSE <dev illwieckz net>
- To: Chris Vine <chris cvine freeserve co uk>
- Cc: gtk-list gnome org
- Subject: Re: g_main_dispatch frees objects for input_callback before using them (how to prevent it?)
- Date: Sat, 11 Oct 2014 22:42:41 +0200
The objects user_data, condition and chan were not expected to be at the same place !
Thank you for directing me to the right direction! If the callback have a return today, perhaps there is a reason for arguments to change too.
After that I find easily there was two calls of g_source_remove of the same object.
So:
1. This part of this code is not deprecated anymore.
2. I found and fixed the bug that motivated my cleaning.
--
Thomas DEBESSE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]