Method DisposePluginContainer
DisposePluginContainer(IServiceContainer, Plugin, bool)
Invoked by the plugin manager when unloading an isolated plugin. Disposes/shutdowns plugin services.
void DisposePluginContainer(IServiceContainer container, Plugin plugin, bool immediate)
Parameters
containerIServiceContainerThe container to dispose.
pluginPluginThe plugin owning this container.
immediateboolIf the plugin container should complete dispose immediately (true) or at the end of the current frame (false)