Commit db06ddbf authored by aligungr's avatar aligungr

Performance improvements

parent 5aaceff8
......@@ -97,6 +97,9 @@ bool NtsTask::setTimer(int timerId, int64_t delayMs)
bool NtsTask::setTimerAbsolute(int timerId, int64_t timeMs)
{
if (timerId < 0)
return false;
if (isQuiting)
return false;
......
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