Salome HOME
Fix EDF 11688 - handle list as script argument
[modules/gui.git] / src / PyInterp / PyInterp_Event.cxx
index 398b73e16a4ccec8a26de5ddc01c926d000ea68f..f6a6f4c080a5960d2035809c27a4aa724042ebee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #include "PyInterp_Event.h"
 #include "PyInterp_Request.h"
 
+PyInterp_Event::~PyInterp_Event()
+{
+  PyInterp_Request::Destroy( myRequest );
+  myRequest = 0;
+}
+
 void PyInterp_ExecuteEvent::Execute()
 {
   myRequest->execute();