It would seem that if slimserver were to call any defined concrete function in a plugin (such as initialise/shutdown methods), it should protect the call.
It does for a few calls which are run while (and only while) initializing the plugins. You're right that there's not much of a protection.
If the plugins install hooks to be called at certain events within the slimserver code, then perhaps the plugins should be forced to register event handlers through some interface that a slimserver API provides that also protects against fatal errors being propagated into the slimserver core.
The plugin api currently is rather a set of defined methods for the slimserver to access external modules, than for the plugins to access the slimserver functionality.
-- Michael ----------------------------------------------------------- Help translate SlimServer by using the StringEditor Plugin (http://www.herger.net/slim/) _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
