[maemo-developers] [maemo-developers] Problem with Home plugin
From: Eero Tamminen eero.tamminen at nokia.comDate: Wed Mar 7 12:51:33 EET 2007
- Previous message: Wishlist (was:Re: N800 and USB host mode)
- Next message: [maemo-developers] Problem with Home plugin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Vladislav Vasiliev wrote: > Could you please help me with the issue I have with Maemo? > > When I update my omweather home plugin package > https://garage.maemo.org/projects/omweather/ on Nokia 770 I have to reboot > the device because plugin isn't unloaded from the memory. Switching plugin off doesn't help. > The same thing happens with any home plugin. I've just encountered a problem with omweather where it made some of the statusbar plugins not to work properly. Disabling omweather didn't help in this problem and re-enabling it crashed desktop. The problem wasn't reproducable, but are you doing something funny with D-BUS in omweather? - Eero > The lsof output clearly shows that plugin's stay in memory even when they're > switched off. Here is example output of lsof when plugin iphome is switched off: > Nokia770-39:~# lsof|grep iphome > >>> maemo-lau 856 user mem REG 31,4 11692 40758 >>> /usr/lib/hildon-home/libiphome.so >>> Nokia770-39:~# >> > > In this tutorial > http://maemo.org/platform/docs/howtos/maemo-plugin-tutorial.html#home-plugins > I found that hildon_home_applet_lib_deinitialize should do the job: > >>> /** >>> * @hildon_home_applet_lib_deinitialize >>> * >>> * @param applet_data Applet data as returned by applet_initialize. >>> * >>> * Called when Home unloads the applet from memory. >>> * Applet should deallocate all the resources needed. >>> * >>> */ >>> >>> void hildon_home_applet_lib_deinitialize(void *applet_data); >>> >>> This very function when switching off the plugin is not called. Is this >>> a bug? May be I miss understand the problem? >>> >> > However it seems that this function isn't called when switching off > plugins or just doesn't unload plugins from memory. Is this a bug or > have I missed something? How should it be done properly? > > Thank you. > > Vlad Vasiliev > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers >
- Previous message: Wishlist (was:Re: N800 and USB host mode)
- Next message: [maemo-developers] Problem with Home plugin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]