From 65d196deeea13acf7760704eff839400a92726f7 Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Fri, 25 May 2018 10:10:42 +0200
Subject: [PATCH] TCling: use ~InterpreterFlagsRAII()! (ROOT-9160)

The double-decrement was causing *some* operations to not be interruptible,
specifically those that had recursive ProcessLine() invocations, e.g. from PluginManager.
---
 core/metacling/src/TCling.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/core/metacling/src/TCling.cxx b/core/metacling/src/TCling.cxx
index 19fa41fec14..27014324c61 100644
--- a/core/metacling/src/TCling.cxx
+++ b/core/metacling/src/TCling.cxx
@@ -2310,10 +2310,8 @@ Long_t TCling::ProcessLine(const char* line, EErrorCode* error/*=0*/)
        && result.isValid()
        && !result.isVoid())
    {
-      gROOT->SetLineHasBeenProcessed();
       return result.simplisticCastAs<long>();
    }
-   gROOT->SetLineHasBeenProcessed();
    return 0;
 }
 
-- 
GitLab