inital SK upload

This commit is contained in:
BlankenshipG 2026-04-26 14:27:26 -04:00
commit 5edb6915ed
125 changed files with 2659 additions and 107 deletions

View file

@ -79,6 +79,9 @@ internal static class PluginLoader
/// </summary>
public static void Unload(LoadedPlugin plugin)
{
// Release managed thunks first so the module ref-count can drop to zero on FreeLibrary.
plugin.ClearResolvedDelegates();
if (plugin.ModuleHandle != IntPtr.Zero)
{
FreeLibrary(plugin.ModuleHandle);