Salome HOME
Fix CPPUNIT detection when its library directory contains -l (like -L/usr/lib/x86_64...
[modules/kernel.git] / bin / killSalomeWithPort.py
index 2e2bf65c874c9410b6950e3b008bf315a5a84698..84774cef326c011c1713c1d34f3e1a1c2c56c27b 100755 (executable)
@@ -141,9 +141,6 @@ def shutdownMyPort(port, cleanup=True):
     """
     if not port: return
 
-    from PortManager import releasePort
-    releasePort(port)
-
     from salome_utils import generateFileName
 
     # set OMNIORB_CONFIG variable to the proper file
@@ -189,9 +186,6 @@ def killMyPort(port):
     Parameters:
     - port - port number
     """
-    import PortManager
-    PortManager.releasePort(port)
-
     from salome_utils import getShortHostName, getHostName
 
     # try to shutdown session nomally