From b81f7617c6646dc36e4a4ad55e9a08cf565896ef Mon Sep 17 00:00:00 2001 From: Tom Joseph Date: Tue, 25 Apr 2017 17:59:02 +0530 Subject: Remove hostConsole fd from the event loop. The fd is registered in the sd_event_loop, so as part of cleanup of the customFD the fd is removed from the event loop. Change-Id: Idfc07375ae330c82755fb1d08c8f181410cf917f Signed-off-by: Tom Joseph --- sd_event_loop.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'sd_event_loop.cpp') diff --git a/sd_event_loop.cpp b/sd_event_loop.cpp index af1a5ee..ed3e547 100644 --- a/sd_event_loop.cpp +++ b/sd_event_loop.cpp @@ -281,8 +281,6 @@ void EventLoop::stopHostConsole() { log("Failed to disable the host console socket", entry("RC=%d", rc)); - hostConsole.reset(); - throw std::runtime_error("Failed to disable socket descriptor"); } hostConsole.reset(); -- cgit v1.2.1