summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
83555b0)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
binding_api::result_type binding_api::debug_terminate() {
logdebug("%s", __func__);
binding_api::result_type binding_api::debug_terminate() {
logdebug("%s", __func__);
- raise(SIGKILL); // XXX afb-daemon kills it's pgroup using TERM, which
- // doesn't play well with perf
+ if (getenv("WINMAN_DEBUG_TERMINATE") != nullptr) {
+ raise(SIGKILL); // XXX afb-daemon kills it's pgroup using TERM, which
+ // doesn't play well with perf
+ }
return Ok(json_object_new_object());
}
return Ok(json_object_new_object());
}