diff options
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/UserInput.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/UserInput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/UserInput.cpp b/lib/ExecutionEngine/Interpreter/UserInput.cpp index 0ed0f04b15..3f4493d19b 100644 --- a/lib/ExecutionEngine/Interpreter/UserInput.cpp +++ b/lib/ExecutionEngine/Interpreter/UserInput.cpp @@ -115,7 +115,7 @@ void Interpreter::handleUserInput() { case Call: std::cin >> Command; callFunction(Command); // Enter the specified function - finish(); // Run until it's complete + finish(); // Run until it's complete break; case TraceOpt: @@ -129,6 +129,7 @@ void Interpreter::handleUserInput() { } } while (!UserQuit); + AtExitHandlers.clear(); } //===----------------------------------------------------------------------===// |