diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2017-12-04 13:52:09 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2017-12-04 13:52:09 +0900 |
commit | c2e7ca876cc70b52d39e0cce3aa8dffcd5f90cc8 (patch) | |
tree | 606e6ce2e31249db7948a28ac6288454abb91971 /src | |
parent | 9b8407501c13275a831942578bf52e3a7b0b3248 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/libwindowmanager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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 = { |