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:
f581cb1
)
pepper-inotify: fix to refer to event source only when it's valid
42/266742/1
author
Sung-Jin Park
<sj76.park@samsung.com>
Sun, 6 Jun 2021 03:24:42 +0000
(12:24 +0900)
committer
Sung-Jin Park
<sj76.park@samsung.com>
Thu, 18 Nov 2021 05:43:26 +0000
(
05:43
+0000)
Change-Id: I80d41932d29f76a1909f0b4d449ce00267ef644f
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 db2c4f107e588930e6d0d5c19316ead457c37c6f..4115472c88d45a46f7e7b68b9add7843f6b29a4b 100644
(file)
--- a/
src/lib/inotify/pepper-inotify.c
+++ b/
src/lib/inotify/pepper-inotify.c
@@
-87,8
+87,10
@@
_inotify_fd_read(int fd, uint32_t mask, void *data)
PEPPER_ERROR("The event source will be disabled and the fd will be closed.\n");
if (watch_data->event_source)
+ {
wl_event_source_fd_update(watch_data->event_source, (uint32_t)0);
- wl_event_source_remove(watch_data->event_source);
+ wl_event_source_remove(watch_data->event_source);
+ }
return 0;
}