mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
dmabuf: pop buffer on failure (#9620)
ensure it doesnt permanently gets stuck in the container on failure, pop it from the container.
This commit is contained in:
parent
c8d80a2920
commit
a25a214523
@ -221,6 +221,7 @@ void CLinuxDMABUFParamsResource::create(uint32_t id) {
|
||||
|
||||
if UNLIKELY (!buf->good() || !buf->buffer->success) {
|
||||
resource->sendFailed();
|
||||
PROTO::linuxDma->m_vBuffers.pop_back();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user