I think this is a bug in FairEventManager, whose destructor causes a segmentation violation if the Eve window is closed.
By checking whether the Eve window has been destructed (it will be a NULL pointer), we can disown to prevent FairEventManager from being destroyed. Maybe some of the class members are safe to destroy, but at least one of them is already deleted.
PS: As this is a bug in FairRoot, there is no need to check for the ROOT version.
Supersedes #174.
I think this is a bug in FairEventManager, whose destructor causes a segmentation violation if the Eve window is closed.
By checking whether the Eve window has been destructed (it will be a NULL pointer), we can disown to prevent FairEventManager from being destroyed. Maybe some of the class members are safe to destroy, but at least one of them is already deleted.
PS: As this is a bug in FairRoot, there is no need to check for the ROOT version.