From e29e1b35ec5226b29853d941e54d329c95802b38 Mon Sep 17 00:00:00 2001 From: Blair Date: Wed, 8 Feb 2023 22:59:44 +1000 Subject: [PATCH] Destroy clipper each frame This stops a memory leak from happening, as far as I can see the clipper should be destroyed as it's being created in the same draw call. --- Dalamud/Interface/Internal/Windows/ConsoleWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs b/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs index 8c754e006..872fdcd37 100644 --- a/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs +++ b/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs @@ -331,6 +331,7 @@ internal class ConsoleWindow : Window, IDisposable } clipper.End(); + clipper.Destroy(); } ImGui.PopFont();