From 157f067cf82d2b8d8728e31e6a6295295dddcbee Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 8 Jul 2024 20:21:20 +0200 Subject: [PATCH] gbm: emit deestroy before destroying bo --- src/allocator/GBM.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allocator/GBM.cpp b/src/allocator/GBM.cpp index 5a776e9..8493c07 100644 --- a/src/allocator/GBM.cpp +++ b/src/allocator/GBM.cpp @@ -154,6 +154,7 @@ Aquamarine::CGBMBuffer::CGBMBuffer(const SAllocatorBufferParams& params, Hypruti } Aquamarine::CGBMBuffer::~CGBMBuffer() { + events.destroy.emit(); if (bo) gbm_bo_destroy(bo); for (size_t i = 0; i < (size_t)attrs.planes; i++)