diff options
author | Kyungwook Tak <k.tak@samsung.com> | 2017-02-23 17:29:31 +0900 |
---|---|---|
committer | Kyungwook Tak <k.tak@samsung.com> | 2017-02-23 17:29:31 +0900 |
commit | 9d64087d82c52b04ca50b995f6604bd247424f73 (patch) | |
tree | 46fec25a4d68835193c5444c809d50a7f3e2c74a | |
parent | 30ff9957262dd8cbf8e7b00418c9d16a960785e5 (diff) | |
download | csr-framework-accepted/tizen_tv.tar.gz csr-framework-accepted/tizen_tv.tar.bz2 csr-framework-accepted/tizen_tv.zip |
Remove error log on NativeMainloop dtorsubmit/tizen/20170319.011939accepted/tizen/wearable/20170320.010402accepted/tizen/unified/20170320.010443accepted/tizen/tv/20170320.010346accepted/tizen/mobile/20170320.010332accepted/tizen/ivi/20170320.010418accepted/tizen/common/20170320.173510accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_common
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 <k.tak@samsung.com>
-rw-r--r-- | src/framework/common/native-mainloop.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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); } |