Salome HOME
Remove useless dependency to py2cpp.
[tools/adao_interface.git] / AdaoExchangeLayer.cxx
index 38b1ba3ff02fe8d75a6d70dc46caf8947470e281..4bc42dd0c24f2813da03752d4726d7efdc9b3864 100644 (file)
 #include "PyObjectRAII.hxx"
 #include "Python.h"
 
-#include "py2cpp/py2cpp.hxx"
-
 #include <semaphore.h>
-
 #include <iostream>
 #include <sstream>
 #include <clocale>
@@ -213,6 +210,7 @@ AdaoExchangeLayer::AdaoExchangeLayer()
 
 AdaoExchangeLayer::~AdaoExchangeLayer()
 {
+  AutoGIL agil;
   delete _internal;
 }