remove static instance field

This commit is contained in:
Matt Parker
2025-10-18 14:33:46 +10:00
parent d285ce1bf2
commit d90f0e6c28
3 changed files with 1 additions and 2 deletions

View File

@@ -9,7 +9,6 @@ namespace SharpIDE.Application.Features.FilePersistence;
/// Holds the in memory copies of files, and manages saving/loading them to/from disk.
public class IdeOpenTabsFileManager
{
public static IdeOpenTabsFileManager Instance { get; set; } = null!;
private ConcurrentDictionary<SharpIdeFile, Lazy<Task<string>>> _openFiles = new();
/// Implicitly 'opens' a file if not already open, and returns the text.