Ignore:
Timestamp:
05/12/05 19:25:58 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MContinue.cc

    r6950 r7023  
    260260Int_t MContinue::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
    261261{
    262     MFilter *f = 0;
     262    MFilter *f = MTask::GetFilter();
    263263    if (IsEnvDefined(env, prefix, "Condition", print))
    264264    {
     
    276276    if (!f)
    277277        f = new MF;
     278
    278279    f->SetName(fName);
    279280
     
    281282    if (rc!=kTRUE)
    282283    {
    283         delete f;
     284        if (f!=MTask::GetFilter())
     285            delete f;
    284286        return rc;
    285287    }
    286288
    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    }
    291295    MTask::SetFilter(f);
    292296
Note: See TracChangeset for help on using the changeset viewer.