projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa539da
)
use the 'wl_buffer_send_release' instead of 'wl_resource_queue_event' to release...
68/95968/2
author
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 7 Nov 2016 07:41:18 +0000
(16:41 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 7 Nov 2016 22:28:25 +0000
(07:28 +0900)
the message added by wl_resource_queue_event() won't be delivered,
if there is no calling 'wl_resource_post_event' after that.
Change-Id: I7378d115a999b12ea68bdfdd57f311f2b5851a8f
src/lib/pepper/buffer.c
patch
|
blob
|
history
diff --git
a/src/lib/pepper/buffer.c
b/src/lib/pepper/buffer.c
index
0c1c450
..
654b0a0
100644
(file)
--- a/
src/lib/pepper/buffer.c
+++ b/
src/lib/pepper/buffer.c
@@
-88,7
+88,7
@@
pepper_buffer_unreference(pepper_buffer_t *buffer)
PEPPER_ASSERT(buffer->ref_count > 0);
if (--buffer->ref_count == 0) {
- wl_
resource_queue_event(buffer->resource, WL_BUFFER_RELEASE
);
+ wl_
buffer_send_release(buffer->resource
);
pepper_object_emit_event(&buffer->base, PEPPER_EVENT_BUFFER_RELEASE, NULL);
}
}