diff options
author | James E. Blair <jeblair@openstack.org> | 2014-03-13 07:58:17 -0700 |
---|---|---|
committer | James E. Blair <jeblair@openstack.org> | 2014-03-13 08:04:30 -0700 |
commit | 37be1475b1300b67d83d87af412d9e7f11961dce (patch) | |
tree | 7e990a720a3d53d10bc6f119adcd34809a5afa71 | |
parent | 6c48ca2c94b6e756b6afee592d9461af6d2d1db5 (diff) | |
download | gear-37be1475b1300b67d83d87af412d9e7f11961dce.tar.gz |
Close server connect pipes on cleanup
Not nearly as big of a problem as the base client/server pipes
but still probably ought to be cleaned up
Change-Id: Ie4dcf4c623fa5cd9aadae13b335fcdf44c6ecad6
-rw-r--r-- | gear/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gear/__init__.py b/gear/__init__.py index 2ccd0c7..56e8812 100644 --- a/gear/__init__.py +++ b/gear/__init__.py @@ -2264,6 +2264,8 @@ class Server(BaseClientServer): def _cleanup(self): super(Server, self)._cleanup() self.socket.close() + os.close(self.connect_wake_read) + os.close(self.connect_wake_write) def _lostConnection(self, conn): # Called as soon as a connection is detected as faulty. |