Skip to content

Commit dd16607

Browse files
committed
GPU QA: Fix debug ROOT dump if we wrote a different ROOT file meanwhile
1 parent fe6cd7c commit dd16607

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GPU/GPUTracking/Debug/GPUROOTDumpCore.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ GPUROOTDumpCore::GPUROOTDumpCore(GPUROOTDumpCore::GPUROOTDumpCorePrivate)
3030
GPUROOTDumpCore::~GPUROOTDumpCore()
3131
{
3232
if (mFile) {
33+
mFile->cd();
3334
for (uint32_t i = 0; i < mBranches.size(); i++) {
3435
mBranches[i]->write();
3536
}

0 commit comments

Comments
 (0)