diff --git a/OwnModel.cs b/OwnModel.cs index b20b91f..6838a70 100644 --- a/OwnModel.cs +++ b/OwnModel.cs @@ -9,7 +9,7 @@ namespace BlubbFish.Utils public abstract class OwnModel where T : class { private static readonly Lazy _instance = new Lazy(() => CreateInstanceOfT()); - private List observer = new List(); + private readonly List observer = new List(); public static T Instance { get { @@ -35,5 +35,6 @@ namespace BlubbFish.Utils this.observer.ForEach(delegate (OwnView view) { view.Update(); }); } abstract protected void Init(); + abstract public void Dispose(); } } diff --git a/bin/Release/Utils.dll b/bin/Release/Utils.dll index f250fbf..3193878 100644 Binary files a/bin/Release/Utils.dll and b/bin/Release/Utils.dll differ