vanilla
vanilla copied to clipboard
HTTP Server has no close method
self.signal.subscribe(signal.SIGINT, signal.SIGTERM).recv()
File "/home/andy/git/vanilla/vanilla/message.py", line 324, in recv
return self.pause(timeout=timeout)
File "/home/andy/git/vanilla/vanilla/message.py", line 203, in pause
_, ret = self.hub.pause(timeout=timeout)
File "/home/andy/git/vanilla/vanilla/core.py", line 305, in pause
resume = self.loop.switch()
File "/home/andy/git/vanilla/vanilla/core.py", line 496, in main
masks[mask].send(True)
File "/home/andy/git/vanilla/vanilla/message.py", line 260, in send
return self.hub.switch_to(self.other.peak, self.other, item)
File "/home/andy/git/vanilla/vanilla/core.py", line 322, in switch_to
return target.switch(*a)
File "bin/w", line 20, in _
conn.close()
AttributeError: 'HTTPServer' object has no attribute 'close'