summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/mainloop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/mainloop.cpp b/src/common/mainloop.cpp
index 0c0d19f..9bb3185 100644
--- a/src/common/mainloop.cpp
+++ b/src/common/mainloop.cpp
@@ -46,8 +46,8 @@ Mainloop::Mainloop() :
Mainloop::~Mainloop()
{
if (!m_stopped && !m_isTimedOut && !m_callbacks.empty())
- throw std::logic_error("mainloop registered callbacks should be empty "
- "except timed out case");
+ LogError("mainloop registered callbacks should be empty "
+ "except timed out case");
::close(m_pollfd);
}