Skip to content
Snippets Groups Projects
Commit 5b9ddb14 authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

We may not have incr executor.

parent f3fd5b3c
No related branches found
No related tags found
Loading
...@@ -934,7 +934,8 @@ namespace cling { ...@@ -934,7 +934,8 @@ namespace cling {
void Interpreter::unload(unsigned numberOfTransactions) { void Interpreter::unload(unsigned numberOfTransactions) {
while(true) { while(true) {
cling::Transaction* T = m_IncrParser->getLastTransaction(); cling::Transaction* T = m_IncrParser->getLastTransaction();
m_Executor->runAndRemoveStaticDestructors(T); if (m_Executor) // we also might be in fsyntax-only mode.
m_Executor->runAndRemoveStaticDestructors(T);
m_IncrParser->unloadTransaction(T); m_IncrParser->unloadTransaction(T);
if (InterpreterCallbacks* callbacks = getCallbacks()) if (InterpreterCallbacks* callbacks = getCallbacks())
......
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