Re: GModule unloading

On Tue, May 22, 2007 at 09:32:47AM -0500, Matt Hoosier wrote:
> When a GModule is closed, are any shared libraries which it alone
> required also opportunistically unmapped?
> I'm trying to determine whether to mark a module as permanently
> resident. The code which lives directly in the plugin won't contribute
> any static data, but the plugin will depend on some shared libraries
> that introduce some new GTypes.

If the libraries register the types with
g_type_register_static() -- as they most likely do -- you
must not unload them anyway.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]