[Pidgin] #8758: perl plugin does not get unloaded

Pidgin trac at pidgin.im
Mon Mar 23 18:17:06 EDT 2009


#8758: perl plugin does not get unloaded
---------------------+------------------------------------------------------
 Reporter:  cavedon  |           Owner:  deryni 
     Type:  defect   |          Status:  pending
Milestone:           |       Component:  plugins
  Version:  2.5.5    |      Resolution:         
 Keywords:           |   Launchpad_bug:         
---------------------+------------------------------------------------------
Changes (by cavedon):

  * status:  pending => new


Comment:

 Replying to [comment:4 deryni]:
 > Ah, that seems entirely reasonable and likely. It would seem to me that
 the correct fix for this would be to NULLif the exts pointer when it is
 destroyed in purple_plugin_destroy. Are you able to test if that fixes
 your problem?

 I agree. I tried and it fixes my problem, thanks!

 > As to the perl.so loading, yes, it appears that simply saving the return
 value of g_module_open and giving it to g_module_close is the correct
 thing to do here. Though if the above fixes your issue, I'm inclined to
 leave this alone as it has not appeared to cause anyone any problems so
 far. Though if you want to test this as well in your envionment that would
 be fine and is likely the worst-case scenario for this change to break
 things.

 I agree about leaving it as is. Actually I tried it, but it did not seem
 to work (even if I did not put too much care, so I am not sure if I did
 something wrong).

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8758#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list