Re: [gnet] Cleanup in gnet
- From: Tim Müller <t i m zen co uk>
- To: "yinglcs2 yahoo com" <yinglcs2 yahoo com>
- Cc: gnet lists gnetlibrary org
- Subject: Re: [gnet] Cleanup in gnet
- Date: Sun, 02 Apr 2006 15:55:55 +0100
On Sat, 2006-04-01 at 13:34 -0800, yinglcs2 yahoo com wrote:
> If I call 'gtk_main_quit();' in multiple places
> (different threads), how can i make sure all the gnet
> resource (e.g. open sockets) is free?
gtk_main_quit() doesn't free any GNet-related resources, you can call
gtk_main() + gtk_main_quit() as often as you like. You'll have to free
those just like you'd free any other type of resources.
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]