Ignore:
Timestamp:
11/01/18 20:43:06 (3 years ago)
Author:
tbretz
Message:
Improves the behaviour with RecursiveRemove. Strictly speaking this change might only be necessary if a class contains more than one member which is bound to recursive remove. Onth other hand setting all members to NULL which might be affected by RecursiveRemove is not wrong either.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mhist/MHCamera.cc

    r19304 r19345  
    203203{
    204204    if (fGeomCam)
    205       delete fGeomCam;
     205    {
     206        delete fGeomCam;
     207        fGeomCam = 0;
     208    }
    206209    if (fNotify)
    207       delete fNotify;
     210    {
     211        delete fNotify;
     212        fNotify = 0;
     213    }
    208214}
    209215
Note: See TracChangeset for help on using the changeset viewer.