Ticket #7847: 7847_reconnect_event_socket.diff

File 7847_reconnect_event_socket.diff, 478 bytes (added by cpinkham, 10 years ago)

Reconnect the event socket when we lose the main BE connection

  • mythcorecontext.cpp

     
    787787            d->m_serverSock->DownRef();
    788788            d->m_serverSock = NULL;
    789789
     790            d->m_eventSock->DownRef();
     791            d->m_eventSock = NULL;
     792
    790793            bool blockingClient = GetNumSetting("idleTimeoutSecs",0);
    791794            ConnectToMasterServer(blockingClient);
    792795