mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 03:40:18 +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:^
|
[[MTTcpTransport tcpTransportQueue] dispatchOnQueue:^
|
||||||
{
|
{
|
||||||
|
#if !TARGET_OS_IPHONE
|
||||||
if (_sleepWatchdogTimer == nil)
|
if (_sleepWatchdogTimer == nil)
|
||||||
{
|
{
|
||||||
_sleepWatchdogTimerLastTime = MTAbsoluteSystemTime();
|
_sleepWatchdogTimerLastTime = MTAbsoluteSystemTime();
|
||||||
@ -243,6 +244,7 @@ static const NSTimeInterval MTTcpTransportSleepWatchdogTimeout = 60.0;
|
|||||||
} queue:[MTTcpConnection tcpQueue].nativeQueue];
|
} queue:[MTTcpConnection tcpQueue].nativeQueue];
|
||||||
[_sleepWatchdogTimer start];
|
[_sleepWatchdogTimer start];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user