diff --git a/core/metacling/src/TCling.cxx b/core/metacling/src/TCling.cxx index 37ab168eeb826..32af3d2a318c5 100644 --- a/core/metacling/src/TCling.cxx +++ b/core/metacling/src/TCling.cxx @@ -1839,6 +1839,7 @@ void TCling::LoadPCM(std::string pcmFileNameFullPath) std::string RDictFileOpts = pcmFileNameFullPath + "?filetype=pcm"; TMemFile pcmMemFile(RDictFileOpts.c_str(), range); + cling::Interpreter::PushTransactionRAII deserRAII(GetInterpreterImpl()); LoadPCMImpl(pcmMemFile); fPendingRdicts.erase(pendingRdict);