Ignore:
Timestamp:
07/26/18 14:44:42 (4 years ago)
Author:
Sanahuja Guillaume
Message:

gcs: do not use socket if connection lost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/ConnectionLayout.cpp

    r258 r260  
    1616
    1717ConnectionLayout::~ConnectionLayout() {
     18}
     19
     20void ConnectionLayout::udtSocketDestroyed(QObject *obj){
     21  socket=NULL;
    1822}
    1923
     
    6670void ConnectionLayout::XmlToSend(QDomDocument doc) {
    6771   //fprintf(stderr,"xml to send\n%s\n",doc.toString().toLocal8Bit().constData());
     72  if(!socket) return;
    6873 
    6974  // xml to send a mettre dans le manager
Note: See TracChangeset for help on using the changeset viewer.