Merge branch 'develop' into ci/ccxt.pro

This commit is contained in:
Matthias
2024-06-18 20:34:18 +02:00
25 changed files with 188 additions and 82 deletions

View File

@@ -279,7 +279,7 @@ class Exchange:
self._exchange_ws.cleanup()
logger.debug("Exchange object destroyed, closing async loop")
if (
self._api_async
getattr(self, "_api_async", None)
and inspect.iscoroutinefunction(self._api_async.close)
and self._api_async.session
):