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 02:43:16 -0800 |
commit | a332a177ddffe5dac05b0b7d16937cbe4d6f2661 (patch) | |
tree | 46f9a5bb2f110b5e56c98ddd0a3d93b451ec2fca | |
parent | 6adc3ec9be0e6b4e0e24bca85e7a0872f7d7c6ff (diff) | |
download | csr-framework-a332a177ddffe5dac05b0b7d16937cbe4d6f2661.tar.gz csr-framework-a332a177ddffe5dac05b0b7d16937cbe4d6f2661.tar.bz2 csr-framework-a332a177ddffe5dac05b0b7d16937cbe4d6f2661.zip |
Remove error log on NativeMainloop dtorsubmit/tizen_3.0/20170224.023509accepted/tizen/3.0/wearable/20170228.034511accepted/tizen/3.0/tv/20170228.034500accepted/tizen/3.0/mobile/20170228.034424accepted/tizen/3.0/ivi/20170228.034520accepted/tizen/3.0/common/20170228.061239accepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_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>
(cherry picked from commit 9d64087d82c52b04ca50b995f6604bd247424f73)
-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); } |