GIOFunc called after a g_io_channel_shutdown
- From: "Renaud Malaval" <Renaud Malaval palmsource com>
- To: <gtk-app-devel-list gnome org>
- Subject: GIOFunc called after a g_io_channel_shutdown
- Date: Tue, 16 May 2006 18:54:52 +0200
Hello,
I use g_io_channel_unix_new() in a custom dialog to check somes io
events.
I close my gioChannel in the foo_dialog_response_cb(), just before
destroy the custom dialog.
To close the gioChannel I Does :
status = g_io_channel_shutdown(privP->gioChannelP, FALSE, &gerrorP); if
( gerrorP) {
g_error_free(gerrorP);
}
g_io_channel_unref(privP->gioChannelP);
I don't have errors (status is ok and no gerrorP) About 1 or 2 seconds
after that my GIOFunc callback is called and crash because of bad
context (user_data pointer is breaked)
I don't understood why the gioChannel is not closed.
Any idea, please ?
Cordially,
Renaud
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]