//**********************************************************************************************************************
SummarySharedCommand::~SummarySharedCommand(){
- delete read;
- delete validCalculator;
+ if (abort == false) {
+ delete read;
+ delete validCalculator;
+ }
}
//**********************************************************************************************************************
for(int i=0;i<sumCalculators.size();i++){ delete sumCalculators[i]; }
- delete input;
+ delete input; globaldata->ginput = NULL;
return 0;
}