Kill timer only when needed.
This commit is contained in:
parent
781284f442
commit
79557e71e2
1 changed files with 3 additions and 1 deletions
|
@ -305,7 +305,9 @@ void OAuth2Service::startRefreshTimer() {
|
|||
}
|
||||
|
||||
void OAuth2Service::killRefreshTimer() {
|
||||
if (m_timerId > 0) {
|
||||
killTimer(m_timerId);
|
||||
}
|
||||
}
|
||||
|
||||
void OAuth2Service::retrieveAuthCode() {
|
||||
|
|
Loading…
Add table
Reference in a new issue