mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
Pre-Release 2.5.1
This commit is contained in:
parent
509a41407a
commit
cac15ffadc
@ -221,6 +221,7 @@ static const NSTimeInterval MTTcpTransportSleepWatchdogTimeout = 60.0;
|
||||
{
|
||||
[[MTTcpTransport tcpTransportQueue] dispatchOnQueue:^
|
||||
{
|
||||
#if !TARGET_OS_IPHONE
|
||||
if (_sleepWatchdogTimer == nil)
|
||||
{
|
||||
_sleepWatchdogTimerLastTime = MTAbsoluteSystemTime();
|
||||
@ -243,6 +244,7 @@ static const NSTimeInterval MTTcpTransportSleepWatchdogTimeout = 60.0;
|
||||
} queue:[MTTcpConnection tcpQueue].nativeQueue];
|
||||
[_sleepWatchdogTimer start];
|
||||
}
|
||||
#endif
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user