[libpeas] libpeas not reloading plugins



Hi list,

I just found that libpeas doesn't reload the plugins. If one gets disabled
and reenabled after, the code isn't updated, the old one is loaded.

This happend with both, C and python, plugins in peas-demo and in real
world code. Shouldn't plugins be reloaded?

Another interesting thing is that applications using libpeas also use
the shared libraries used by plugins and the plugin's shared object
after they are disabled, increasing memory footprint.

I think the oposite behaviour should be the desirable, plugins must
be reloaded and plugin's resources should be freed and unloaded after
deactivation.

Do I miss something? Is something in peas-demo, documentation or in my
code wrong?

Thanks.

FYI. My app's code, large, not much, but large:
https://github.com/ldotlopez/eina/blob/master/eina/eina.c


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