fba7139
diff -ur root-6.20.02.orig/bindings/pyroot/src/Cppyy.cxx root-6.20.02/bindings/pyroot/src/Cppyy.cxx
fba7139
--- root-6.20.02.orig/bindings/pyroot/src/Cppyy.cxx	2020-03-15 16:21:25.000000000 +0100
fba7139
+++ root-6.20.02/bindings/pyroot/src/Cppyy.cxx	2020-03-21 14:10:09.322489811 +0100
fba7139
@@ -74,10 +74,6 @@
fba7139
 class ApplicationStarter {
fba7139
 public:
fba7139
    ApplicationStarter() {
fba7139
-      // Insure ROOT's atexit is executed *after* the atexit that calls
fba7139
-      // ApplicationStarter's destructor, by forcing the ROOT's atexit
fba7139
-      // registration now.
fba7139
-      TROOT::Initialize();
fba7139
       // setup dummy holders for global and std namespaces
fba7139
       assert( g_classrefs.size() == GLOBAL_HANDLE );
fba7139
       g_name2classrefidx[ "" ]      = GLOBAL_HANDLE;
fba7139
@@ -90,8 +86,6 @@
fba7139
    }
fba7139
 
fba7139
    ~ApplicationStarter() {
fba7139
-      for ( auto ifunc : g_method2callfunc )
fba7139
-         gInterpreter->CallFunc_Delete( ifunc.second );
fba7139
    }
fba7139
 } _applicationStarter;
fba7139