Commit dbe44449 authored by Denis Bilenko's avatar Denis Bilenko

socket: fix GreenSSL.close

parent 6fcac453
...@@ -340,7 +340,8 @@ class GreenSSL(GreenSocket): ...@@ -340,7 +340,8 @@ class GreenSSL(GreenSocket):
def close (self): def close (self):
if self._makefile_refs < 1: if self._makefile_refs < 1:
GreenSocket.close(self) self.fd.shutdown()
# QQQ wait until shutdown completes?
else: else:
self._makefile_refs -= 1 self._makefile_refs -= 1
......
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