[yt-svn] commit/yt: MatthewTurk: Merged in jmoloney/yt/yt-3.0 (pull request #846)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Apr 23 05:03:15 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/1fb43c387d93/
Changeset:   1fb43c387d93
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-04-23 14:03:05
Summary:     Merged in jmoloney/yt/yt-3.0 (pull request #846)

Release communicators once they're garbage collected.
Affected #:  1 file

diff -r e194bdae23c0d3ba246f4ea81d915cf8383e7fe3 -r 1fb43c387d932803cba2505a859eafe1a063e2c8 yt/utilities/parallel_tools/parallel_analysis_interface.py
--- a/yt/utilities/parallel_tools/parallel_analysis_interface.py
+++ b/yt/utilities/parallel_tools/parallel_analysis_interface.py
@@ -636,6 +636,9 @@
     def __init__(self, comm=None):
         self.comm = comm
         self._distributed = comm is not None and self.comm.size > 1
+
+    def __del__(self):
+        self.comm.Free()
     """
     This is an interface specification providing several useful utility
     functions for analyzing something in parallel.

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list