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 <tomjoseph@in.ibm.com>
diff --git a/sol/sol_manager.hpp b/sol/sol_manager.hpp
index a7e4a1c..e756574 100644
--- a/sol/sol_manager.hpp
+++ b/sol/sol_manager.hpp
@@ -33,13 +33,7 @@
CustomFD(int fd) :
fd(fd) {}
- ~CustomFD()
- {
- if(fd >=0)
- {
- close(fd);
- }
- }
+ ~CustomFD();
int operator()() const
{