Changeset 7023 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 05/12/05 19:25:58 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MContinue.cc
r6950 r7023 260 260 Int_t MContinue::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 261 261 { 262 MFilter *f = 0;262 MFilter *f = MTask::GetFilter(); 263 263 if (IsEnvDefined(env, prefix, "Condition", print)) 264 264 { … … 276 276 if (!f) 277 277 f = new MF; 278 278 279 f->SetName(fName); 279 280 … … 281 282 if (rc!=kTRUE) 282 283 { 283 delete f; 284 if (f!=MTask::GetFilter()) 285 delete f; 284 286 return rc; 285 287 } 286 288 287 if (TestBit(kIsOwner)) 288 delete GetFilter(); 289 290 SetBit(kIsOwner); 289 if (f != MTask::GetFilter()) 290 { 291 if (TestBit(kIsOwner)) 292 delete GetFilter(); 293 SetBit(kIsOwner); 294 } 291 295 MTask::SetFilter(f); 292 296
Note:
See TracChangeset
for help on using the changeset viewer.