Skip to content

IPluginResource

Namespace Mc.Scripting · Kind interface

public interface IPluginResource : IDisposable

Something owned by a plugin that must be released when it unloads.

Implement it for your own objects and call PluginContext.Track so they are disposed on unload.