mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Remove dangling timer in MTP Session
Commit bdc7f4114f
got rid of
_timeouter's callback without removing the timer that still fires
every second.
This commit is contained in:
parent
aa843ee978
commit
46ee5598f5
2 changed files with 0 additions and 2 deletions
|
@ -162,7 +162,6 @@ Session::Session(
|
|||
, _data(std::make_shared<SessionData>(this))
|
||||
, _thread(thread)
|
||||
, _sender([=] { needToResumeAndSend(); }) {
|
||||
_timeouter.callEach(1000);
|
||||
refreshOptions();
|
||||
watchDcKeyChanges();
|
||||
watchDcOptionsChanges();
|
||||
|
|
|
@ -211,7 +211,6 @@ private:
|
|||
|
||||
bool _ping = false;
|
||||
|
||||
base::Timer _timeouter;
|
||||
base::Timer _sender;
|
||||
|
||||
rpl::lifetime _lifetime;
|
||||
|
|
Loading…
Add table
Reference in a new issue