MOTOR-185 Deadlock closing Change Stream

This commit is contained in:
A. Jesse Jiryu Davis 2018-01-10 09:25:56 -05:00
parent 78271b9693
commit 08ef305847

View File

@ -1313,7 +1313,8 @@ class AgnosticChangeStream(AgnosticBase):
return self
async def __aexit__(self, exc_type, exc_val, exc_tb):
await self.close()
if self.delegate:
self.delegate.close()
"""), globals(), locals())
def get_io_loop(self):