From d98f1a66cdf83b70e3a84f0e3faeb72f12ac99bb Mon Sep 17 00:00:00 2001
From: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
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 <knimitz@witz-inc.co.jp>
---
 src/libwindowmanager.cpp | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src')

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