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:
80f3aa3
)
pepper-inotify: fix to remove an event source when error/hangup comes from it
22/266222/3
accepted/tizen/unified/20211110.122244
submit/tizen/20211109.110721
submit/tizen/20211110.005634
author
Sung-Jin Park
<sj76.park@samsung.com>
Tue, 9 Nov 2021 08:01:33 +0000
(17:01 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Tue, 9 Nov 2021 08:19:31 +0000
(08:19 +0000)
Change-Id: Ia0c3f7b96fe7f2f0be4b73c58f63ed2bb83057ac
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/lib/inotify/pepper-inotify.c
patch
|
blob
|
history
diff --git
a/src/lib/inotify/pepper-inotify.c
b/src/lib/inotify/pepper-inotify.c
index 727be5ad217578d410466c5f711d853b579b7598..db2c4f107e588930e6d0d5c19316ead457c37c6f 100644
(file)
--- a/
src/lib/inotify/pepper-inotify.c
+++ b/
src/lib/inotify/pepper-inotify.c
@@
-88,8
+88,7
@@
_inotify_fd_read(int fd, uint32_t mask, void *data)
if (watch_data->event_source)
wl_event_source_fd_update(watch_data->event_source, (uint32_t)0);
-
- close(fd);
+ wl_event_source_remove(watch_data->event_source);
return 0;
}