Skip to content

Commit

Permalink
Fix: Merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
neolithos committed Aug 20, 2022
1 parent a4330cb commit fa149c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NeoLua/Lua.cs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ private set
private static Version versionInfo = null;

private static int registeredChunkLock = 0;
private static Dictionary<string, WeakReference> registeredChunks = new Dictionary<string, WeakReference>();
private static readonly Dictionary<string, WeakReference> registeredChunks = new Dictionary<string, WeakReference>();

#region -- Chunk Register ---------------------------------------------------------

Expand Down Expand Up @@ -548,7 +548,7 @@ public static Version Version
}
} // prop Version

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

0 comments on commit fa149c5

Please sign in to comment.