When using anyio MemoryObjectReceiveStream and MemoryObjectSendStream we must explicitly close them when we have finished with them. This wasn't necessary with anyio 4.3.0 but is with 4.4.0 as otherwise warnings/errors are issued which break our CI.
This is only actually an issue in CI as our only explicit use of memory object streams is in TestSession.
Fixes #1252.
When using anyio
MemoryObjectReceiveStream
andMemoryObjectSendStream
we must explicitly close them when we have finished with them. This wasn't necessary with anyio 4.3.0 but is with 4.4.0 as otherwise warnings/errors are issued which break our CI.This is only actually an issue in CI as our only explicit use of memory object streams is in
TestSession
.