Skip to content

Commit fa149c5

Browse files
committedAug 20, 2022
Fix: Merge error
1 parent a4330cb commit fa149c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎NeoLua/Lua.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ private set
449449
private static Version versionInfo = null;
450450

451451
private static int registeredChunkLock = 0;
452-
private static Dictionary<string, WeakReference> registeredChunks = new Dictionary<string, WeakReference>();
452+
private static readonly Dictionary<string, WeakReference> registeredChunks = new Dictionary<string, WeakReference>();
453453

454454
#region -- Chunk Register ---------------------------------------------------------
455455

@@ -548,7 +548,7 @@ public static Version Version
548548
}
549549
} // prop Version
550550

551-
#if !NETSTANDARD2_1 && !NETCOREAPP3_1 && !NET5_0
551+
#if !NETSTANDARD2_0 && !NETCOREAPP2_1 && !NET5_0
552552
/// <summary>Stack trace compile options.</summary>
553553
public static LuaCompileOptions StackTraceCompileOptions { get; } = new LuaCompileOptions { DebugEngine = LuaStackTraceDebugger.Default };
554554
#endif

0 commit comments

Comments
 (0)
Failed to load comments.