From: Kyungwook Tak Date: Thu, 23 Feb 2017 08:29:31 +0000 (+0900) Subject: Remove error log on NativeMainloop dtor X-Git-Tag: accepted/tizen/common/20170320.173510^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_ivi;p=platform%2Fupstream%2Fcsr-framework.git Remove error log on NativeMainloop dtor NativeMainloop can be destructed even though it's not timed out case. Because the loop can be used by client side to implement async logic, and all listening sockets are closed automatically as RAII Change-Id: I36760e7202206c82f2a0545e993069ad59549547 Signed-off-by: Kyungwook Tak --- diff --git a/src/framework/common/native-mainloop.cpp b/src/framework/common/native-mainloop.cpp index dd61f04..25ab9b2 100644 --- a/src/framework/common/native-mainloop.cpp +++ b/src/framework/common/native-mainloop.cpp @@ -70,9 +70,6 @@ NativeMainloop::NativeMainloop() : NativeMainloop::~NativeMainloop() { - if (!this->m_isTimedOut && !this->m_callbacks.empty()) - ERROR("mainloop registered callbacks should be empty except timed out case"); - ::close(m_pollfd); }