Remove unused lock from frame helper (#406)

This commit is contained in:
J. Nick Koston 2023-03-17 12:09:34 -10:00 committed by GitHub
parent cd72bad964
commit b188803f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,6 @@ class APIFrameHelper(asyncio.Protocol):
self._on_pkt = on_pkt
self._on_error = on_error
self._transport: Optional[asyncio.Transport] = None
self.read_lock = asyncio.Lock()
self._connected_event = asyncio.Event()
self._buffer = bytearray()
self._pos = 0