Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
3fa065a2
Commit
3fa065a2
authored
Nov 07, 2014
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/server/buffer_interface.cpp
View file @
3fa065a2
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment