From c2e7ca876cc70b52d39e0cce3aa8dffcd5f90cc8 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Mon, 4 Dec 2017 13:52:09 +0900 Subject: Remove exit code when the websocket connection is disconnected When the websocket connection to Window Manager is disconnected due to some reason, libwindowmanager calls exit(1). Remove this not to kill applications suddenly. Change-Id: Ibab1600de0e6ea52ec7858fedcdff5a26cde4ab3 Signed-off-by: Kazumasa Mitsunari --- src/libwindowmanager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp index 57e4c04..4a9b951 100644 --- a/src/libwindowmanager.cpp +++ b/src/libwindowmanager.cpp @@ -155,7 +155,6 @@ void onHangup(void *closure, afb_wsj1 *wsj1) { UNUSED(closure); UNUSED(wsj1); HMI_ERROR("libwm", "Hangup, the WindowManager vanished"); - exit(1); } constexpr struct afb_wsj1_itf itf = { -- cgit 1.2.3-korg