Ticket #4053: autorequestfix.patch

File autorequestfix.patch, 447 bytes (added by echotangoecho, 8 years ago)
  • source/network/NetClient.cpp

     
    199199    m_LastConnectionCheck = now;
    200200
    201201    JSContext* cx = GetScriptInterface().GetContext();
     202    JSAutoRequest rq(cx);
    202203
    203204    // Report if we are losing the connection to the server
    204205    u32 lastReceived = m_Session->GetLastReceivedTime();