diff --git a/src/network-web/oauth2service.cpp b/src/network-web/oauth2service.cpp index 8a2185ed0..75ae97917 100755 --- a/src/network-web/oauth2service.cpp +++ b/src/network-web/oauth2service.cpp @@ -305,7 +305,9 @@ void OAuth2Service::startRefreshTimer() { } void OAuth2Service::killRefreshTimer() { - killTimer(m_timerId); + if (m_timerId > 0) { + killTimer(m_timerId); + } } void OAuth2Service::retrieveAuthCode() {