(client) chore:Mark Singleton class as an abstract class

This commit is contained in:
CaicukunChiji
2025-07-09 17:22:17 +08:00
parent e56b274250
commit e0fd65071e

View File

@ -1,6 +1,6 @@
namespace Utils
{
public class Singleton<T> where T : new()
public abstract class Singleton<T> where T : new()
{
private static T _instance;
public static T Instance => _instance ??= new T();