Commit 27021265 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

try to release openoffice port explicitly in stop() too for safety.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42082 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 56ac38ad
......@@ -163,6 +163,8 @@ class OpenOffice(Application):
"""Stop the instance by pid. By the default
the signal is 15."""
Application.stop(self)
if socketStatus(self.hostname, self.port):
self._releaseOpenOfficePort()
if exists(self.path_user_installation):
removeDirectory(self.path_user_installation)
self._cleanRequest()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment