Commit 3fa065a2 authored by Martin Flöser's avatar Martin Flöser
Browse files

Remove destroy listener on BufferInterface in dtor

One needs to use wl_list_remove for the listeners one creates.
parent 34af4b1c
......@@ -75,6 +75,7 @@ BufferInterface::Private::Private(BufferInterface *q, wl_resource *resource, Sur
BufferInterface::Private::~Private()
{
wl_list_remove(&listener.link);
s_buffers.removeAll(this);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment