Commit 5f03f920 authored by Jeremy Hylton's avatar Jeremy Hylton

Really stop the leak of file descriptors!

The previous checkin stopped using the per-connection trigger, but
didn't stop creating it.  (Dang.)

Thanks to Shane for noticing.
parent f400474a
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# #
############################################################################## ##############################################################################
__version__ = "$Revision: 1.31 $"[11:-2] __version__ = "$Revision: 1.32 $"[11:-2]
import asyncore, socket, string, sys, os import asyncore, socket, string, sys, os
from smac import SizedMessageAsyncConnection from smac import SizedMessageAsyncConnection
...@@ -247,7 +247,6 @@ class ZEOConnection(SizedMessageAsyncConnection): ...@@ -247,7 +247,6 @@ class ZEOConnection(SizedMessageAsyncConnection):
self.__server=server self.__server=server
self.__invalidated=[] self.__invalidated=[]
self.__closed=None self.__closed=None
self._pack_trigger = trigger.trigger()
if __debug__: debug='ZEO Server' if __debug__: debug='ZEO Server'
else: debug=0 else: debug=0
SizedMessageAsyncConnection.__init__(self, sock, addr, debug=debug) SizedMessageAsyncConnection.__init__(self, sock, addr, debug=debug)
......
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