diff --git a/shadowsocks/eventloop.py b/shadowsocks/eventloop.py index 2d7e696..2ccd7e6 100644 --- a/shadowsocks/eventloop.py +++ b/shadowsocks/eventloop.py @@ -99,7 +99,7 @@ class KqueueLoop(object): self.register(fd, mode) def close(self): - self.kqueue.close() + self._kqueue.close() class SelectLoop(object):