xvzf / asyncserial-py

Asyncio wrapper for pyserial
Apache License 2.0
6 stars 3 forks source link

abort is never awaited #2

Closed JesseRiemens closed 1 year ago

JesseRiemens commented 1 year ago
    async def close(self):
        """
        Closes the serial connection gratefully, flushes output buffer
        """
        await self.flush()
        self.abort()

In this function. self.abort is never awaited even though it is a coroutine.