Ticket #274: mythcontext.diff

File mythcontext.diff, 619 bytes (added by Paul, 19 years ago)

Possible fix - deletes the server socket when the event socket is closed

  • libs/libmyth/mythcontext.cpp

     
    22092209
    22102210void MythContext::EventSocketClosed(void)
    22112211{
    2212             VERBOSE(VB_IMPORTANT, QString("Event socket closed. "
    2213                     "No connection to the backend."));
     2212    VERBOSE(VB_IMPORTANT, QString("Event socket closed. "
     2213            "No connection to the backend."));
     2214           
     2215    delete d->serverSock;
     2216    d->serverSock = NULL;
    22142217}
    22152218
    22162219void MythContext::addListener(QObject *obj)