mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-29 15:01:03 +00: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
@ -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…
Reference in New Issue
Block a user