-
Abhishek Lekshmanan authored
Since the variable was declared as static and not inline, multiple invocations had a different view of the counter and destructors never decremented the correct one. Fix this behaviour, also take a more conservative approach of not crashing currently and just logging and moving as the current line of fire for this segment is mainly tracking the globally configured scheduler Fixes: EOS-6074 Co-Authored-by: David Smith <david.smith@cern.ch> Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@cern.ch>