mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-21 18:25:58 +01:00
expo: fix vram leak
This commit is contained in:
parent
7c187cdd27
commit
f76fb09ff9
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue