Skip to content
Snippets Groups Projects
Commit 416f3182 authored by Rene Brun's avatar Rene Brun
Browse files

Disable TmemstatMng before writing the tree header

git-svn-id: http://root.cern.ch/svn/root/trunk@35700 27541ba8-7e3a-0410-8455-c3a389f83636
parent d0ed28b6
No related branches found
No related tags found
No related merge requests found
......@@ -128,11 +128,14 @@ void TMemStatMng::Close()
//fgInstance->fDumpFile->WriteObject(fgInstance->fFAddrsList, "FAddrsList");
// to be documented
fgInstance->Disable();
fgInstance->fDumpTree->AutoSave();
fgInstance->fDumpTree->GetUserInfo()->Delete();
printf("TMemStat Tree saved to file %s\n",fgInstance->fDumpFile->GetName());
delete fgInstance->fDumpFile;
//fgInstance->fDumpFile->Close();
//delete fgInstance->fFAddrsList;
//delete fgInstance->fSysInfo;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment