浏览代码

python pygrass messages: The message interface must be explicitely stopped using the stop function at exit, a destructor is not needed and leads to errors.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61761 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 10 年之前
父节点
当前提交
da170a0755
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      lib/python/pygrass/messages/__init__.py

+ 0 - 3
lib/python/pygrass/messages/__init__.py

@@ -175,9 +175,6 @@ class Messenger(object):
         self.raise_on_error = raise_on_error
         self.start_server()
 
-    def __del__(self):
-        self.stop()
-
     def start_server(self):
         """Start the messenger server and open the pipe
         """