mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
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.
This commit is contained in:
parent
66bc1e47aa
commit
e29e1b35ec
1 changed files with 1 additions and 0 deletions
|
|
@ -331,6 +331,7 @@ internal class ConsoleWindow : Window, IDisposable
|
||||||
}
|
}
|
||||||
|
|
||||||
clipper.End();
|
clipper.End();
|
||||||
|
clipper.Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.PopFont();
|
ImGui.PopFont();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue