From: José Bollo Date: Thu, 17 Oct 2019 09:12:59 +0000 (+0200) Subject: sig-monitor: Fix exit in signal handler X-Git-Tag: 8.0.3~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=6cbd15fc52490e85babb60f76a0d1887cbe88696;hp=6cbd15fc52490e85babb60f76a0d1887cbe88696;p=src%2Fapp-framework-binder.git sig-monitor: Fix exit in signal handler Calling exit in signal interrupts wasn't correctly handling the case where the signal interrupts a thread waiting in the main loop. This can lead to the binder error report: CRITICAL: Can't enter dispatch while in dispatch! This patch defers the call to exit in a job. Bug-AGL: SPEC-2907 Signed-off-by: José Bollo Change-Id: I49c7cca1d229ae957d9ea9bfb8838161ce73a53e ---