expo: fix vram leak

This commit is contained in:
Vaxry 2024-04-03 21:21:55 +01:00
parent 7c187cdd27
commit f76fb09ff9

View file

@ -15,6 +15,8 @@ static void removeOverview(void*) {
}
COverview::~COverview() {
g_pHyprRenderer->makeEGLCurrent();
images.clear(); // otherwise we get a vram leak
g_pHookSystem->unhook(mouseButtonHook);
g_pHookSystem->unhook(mouseMoveHook);
g_pInputManager->unsetCursorImage();