Commit 06f2f969 authored by aligungr's avatar aligungr

NTS improvement

parent b9c4b40e
......@@ -144,6 +144,8 @@ NtsMessage *NtsTask::poll()
NtsMessage *NtsTask::poll(int64_t timeout)
{
timeout = std::min(timeout, (int64_t)WAIT_TIME_IF_NO_TIMER);
if (isQuiting)
return nullptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment