When using the asyncio client, if the event loop is closed the client will crash (possible seg fault, possible InvalidStateError). This behavior can be seen when using pytest or a simple script and terminating w/ ctrl-c.
Need to look into how the event loop is shared/passed with LCB. Also need to make sure the asyncio client can play nicely with other libraries (fastAPI comes to mind).
- relates to
PYCBC-1127 acouchbase - AsyncCBCollection creating extra connection
PYCBC-1129 acouchbase - provide method to close event loop