Re: [gnet] Cleanup in gnet



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]