IPluginResource
Namespace Mc.Scripting · Kind interface
public interface IPluginResource : IDisposableSomething owned by a plugin that must be released when it unloads.
Remarks
Section titled “Remarks”Implement it for your own objects and call PluginContext.Track so they are disposed on unload.