[Pidgin] #8758: perl plugin does not get unloaded
Pidgin
trac at pidgin.im
Tue Mar 24 14:55:01 EDT 2009
#8758: perl plugin does not get unloaded
---------------------+------------------------------------------------------
Reporter: cavedon | Owner: deryni
Type: defect | Status: new
Milestone: | Component: plugins
Version: 2.5.5 | Resolution:
Keywords: | Launchpad_bug:
---------------------+------------------------------------------------------
Comment(by cavedon):
"perl.so" is not the perl library, but the pidgin perl plugin itself. The
perl library "libperl.so" is loaded automatically because the perl plugin
is dynamically linked against it.
I believe that the perl plugin is incrementing its own reference counter:
in this way g_module_close() called on plugin unload will decrement the
reference counter but not unload the shared library (and the perl symbols
with it).
I think you are right, that we need perl symbols available after plugin
unload (like we need tcl symbols), but this is achieved by preventing the
unloading of the plugin itself, I think.
--
Ticket URL: <http://developer.pidgin.im/ticket/8758#comment:10>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list