Skip to content

Commit 29f9eb7

Browse files
pcanaldpiparo
authored andcommitted
[core] Announce TClass can be delete.
In the optional code under R__COMPLETE_MEM_TERMINATION, uncomment the deletion of the TClass objects since it now works as expected (in a limited set of tests).
1 parent 87c73c1 commit 29f9eb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/base/src/TROOT.cxx

+1-2
Original file line numberDiff line numberDiff line change
@@ -960,8 +960,7 @@ TROOT::~TROOT()
960960
SafeDelete(fGlobalFunctions);
961961
fEnums.load()->Delete();
962962

963-
// FIXME: Causes segfault in rootcling, debug and uncomment
964-
// fClasses->Delete(); SafeDelete(fClasses); // TClass'es must be deleted last
963+
fClasses->Delete(); SafeDelete(fClasses); // TClass'es must be deleted last
965964
#endif
966965

967966
// Remove shared libraries produced by the TSystem::CompileMacro() call

0 commit comments

Comments
 (0)