diff --git a/MLEM.Ui/Elements/Panel.cs b/MLEM.Ui/Elements/Panel.cs index a9633fb..ed14aa5 100644 --- a/MLEM.Ui/Elements/Panel.cs +++ b/MLEM.Ui/Elements/Panel.cs @@ -241,6 +241,7 @@ namespace MLEM.Ui.Elements { this.renderTarget.Dispose(); this.renderTarget = null; } + GC.SuppressFinalize(this); } }