fix: missing files because commit ide for rider is weird

This commit is contained in:
redglow
2026-07-18 10:59:37 +02:00
parent ce58a3a2c2
commit 23e160438f
14 changed files with 33 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
uid://o6qak8rcn6bw
+1
View File
@@ -0,0 +1 @@
uid://cti8rs1qvkwgs
+1
View File
@@ -0,0 +1 @@
uid://ci0sgiavxhc37
+7 -2
View File
@@ -3,6 +3,7 @@ using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Loader;
using Godot;
using OwofGames.GodotLume;
@@ -21,8 +22,12 @@ public static class ScopeTypesAndNames
{
if (_assemblyLoadEventHandler != null) return;
Initialize();
System.Runtime.Loader.AssemblyLoadContext.GetLoadContext(Assembly.GetExecutingAssembly())!
.Unloading += _ => { Deinitialize(); };
AssemblyLoadContext.GetLoadContext(Assembly.GetExecutingAssembly())!.Unloading += OnUnloading;
}
private static void OnUnloading(AssemblyLoadContext _)
{
Deinitialize();
}
private static void Initialize()
+1
View File
@@ -0,0 +1 @@
uid://dsubhm0j58vwo