Optimized CApplication::CheckShutdown() not to do further checks for timer reset conditions once resetTimer is true.
Merge pull request #4372 from ksooo/optimize_capplication_checkshutdown

Optimized CApplication::CheckShutdown() not to do further checks for tim...