Send shutdown signal only when the ExecutionContext exists.
ExecutionContext doesn't exist in '-fsyntax-only' mode.
This commit is contained in:
committed by
sftnight
parent
409324ef76
commit
f4fc65893c
@ -264,8 +264,9 @@ namespace cling {
|
||||
|
||||
}
|
||||
|
||||
Interpreter::~Interpreter() {
|
||||
m_ExecutionContext->shuttingDown();
|
||||
Interpreter::~Interpreter() {
|
||||
if (m_ExecutionContext)
|
||||
m_ExecutionContext->shuttingDown();
|
||||
getCI()->getDiagnostics().getClient()->EndSourceFile();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user