Pre-Release 2.5.1

This commit is contained in:
Peter 2014-08-05 17:56:40 +04:00
parent 509a41407a
commit cac15ffadc

View File

@ -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
}];
}