projects
/
platform
/
core
/
uifw
/
e-mod-tizen-processmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
052c6a1
)
e_mod_processmgr: do not send E_PROCESS_ACT_LAUNCH signal if the pid is invalid
95/273495/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 6 Apr 2022 09:56:59 +0000
(18:56 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Wed, 6 Apr 2022 10:04:43 +0000
(19:04 +0900)
Change-Id: I2e59fd1f08eef261de7f753abe47c82cd9f69261
src/e_mod_processmgr.c
patch
|
blob
|
history
diff --git
a/src/e_mod_processmgr.c
b/src/e_mod_processmgr.c
index 5cd045f711c55888e4540c28338fd0ef13d179c2..cb632157fefcfae511fc0290d46b2669f4b22fa9 100644
(file)
--- a/
src/e_mod_processmgr.c
+++ b/
src/e_mod_processmgr.c
@@
-301,11
+301,15
@@
static void
_e_processmgr_cb_launch_done(void *data, Evas_Object *obj, const char *signal, const char *source)
{
E_Client *ec;
+ int pid = -1;
ec = data;
if (!ec) return;
- _e_processmgr_process_action_send(ec->netwm.pid, E_PROCESS_ACT_LAUNCH);
+ pid = _process_id_get(ec);
+ if (pid <= 0) return;
+
+ _e_processmgr_process_action_send(pid, E_PROCESS_ACT_LAUNCH);
}
static Eina_Bool