Ignore:
Timestamp:
05/04/11 20:35:50 (14 years ago)
Author:
tbretz
Message:
Added the right exit handler.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimErrorRedirecter.cc

    r10511 r10583  
    2626    dis_disable_padding();
    2727
     28    DimServer::addExitHandler(this);
     29    DimServer::addErrorHandler(this);
    2830    DimClient::addErrorHandler(this);
    29     DimServer::addExitHandler(this);
    3031}
    3132
     
    3334{
    3435    DimClient::addErrorHandler(0);
     36    DimServer::addErrorHandler(0);
    3537    DimServer::addExitHandler(0);
    3638}
     
    5456    }
    5557
    56     if (severity==DIM_FATAL && code==DIMDNSDUPLC)
    57         exitHandler(DIMDNSDUPLC);
     58    // If the severity is FATAL after this the exitHandler
     59    // is called with the errorcode by dim
     60
     61    //if (severity==DIM_FATAL && code==DIMDNSDUPLC)
     62    //    exit(3);//abort();
     63
    5864
    5965    /*
Note: See TracChangeset for help on using the changeset viewer.