temperature: let's finally allow the temp process to rest also when enlightenment die.

This commit is contained in:
Cedric BAIL 2015-08-17 22:30:01 +02:00 committed by Mike Blumenkrantz
parent 534c7cde11
commit 8d5c5a44f1
1 changed files with 10 additions and 8 deletions

View File

@ -326,10 +326,11 @@ temperature_face_update_config(Config_Face *inst)
inst->sensor_type, inst->sensor_type,
(inst->sensor_name ? inst->sensor_name : "(null)"), (inst->sensor_name ? inst->sensor_name : "(null)"),
inst->poll_interval); inst->poll_interval);
inst->tempget_exe = inst->tempget_exe =
ecore_exe_pipe_run(buf, ECORE_EXE_PIPE_READ | ecore_exe_pipe_run(buf, ECORE_EXE_PIPE_READ |
ECORE_EXE_PIPE_READ_LINE_BUFFERED | ECORE_EXE_PIPE_READ_LINE_BUFFERED |
ECORE_EXE_NOT_LEADER, inst); ECORE_EXE_NOT_LEADER |
ECORE_EXE_TERM_WITH_PARENT, inst);
} }
} }
else if (inst->backend == UDEV) else if (inst->backend == UDEV)
@ -354,10 +355,11 @@ temperature_face_update_config(Config_Face *inst)
inst->sensor_type, inst->sensor_type,
(inst->sensor_name ? inst->sensor_name : "(null)"), (inst->sensor_name ? inst->sensor_name : "(null)"),
inst->poll_interval); inst->poll_interval);
inst->tempget_exe = inst->tempget_exe =
ecore_exe_pipe_run(buf, ECORE_EXE_PIPE_READ | ecore_exe_pipe_run(buf, ECORE_EXE_PIPE_READ |
ECORE_EXE_PIPE_READ_LINE_BUFFERED | ECORE_EXE_PIPE_READ_LINE_BUFFERED |
ECORE_EXE_NOT_LEADER, inst); ECORE_EXE_NOT_LEADER |
ECORE_EXE_TERM_WITH_PARENT, inst);
} }
#endif #endif
} }