From a02e995a8a36a432b9ce2720672ae28d9047f3a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E4=BE=AF?= Date: Fri, 16 Sep 2016 19:26:54 +0800 Subject: [PATCH] fix bug at KqueueLoop close (#117) --- shadowsocks/eventloop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):