On Tuesday 01 December 2009 17:30:18 xor wrote: > > - The autoupdater MUST call plugin.terminate() before unloading the plugin > because plugins use databases and those must be properly closed.
It does, as part of an orderly unload. > > - Deadlock bugs however might prevent plugins from terminating properly, > terminate() might not return. > > So the question is: If a bug is introduced which permanently breaks > terminate(), even after restarting the node, will the autoupdater handle that? > > IMHO if it is told to update a plugin and the node is restarted in between > then it should update the plugin before even starting it after the restart. > That would prevent this issue We do. We write the new plugin to disk so it will be used on restart. > > Further, toad please remember that you should add logic to the node which > calls terminate() on all plugins before node shutdown, otherwise the > WoT/Freetalk databases might get corrupted, resulting in un-debuggle weird > issues. > > xor >
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
