numat / alicat

Python driver and command line tool for Alicat mass flow controllers.
GNU General Public License v2.0
21 stars 27 forks source link

modified close method according to recommendation in asyncio docs #112

Closed treychaffin closed 3 months ago

treychaffin commented 3 months ago

I was getting a TypeError (NoneType) when closing a TCP connection.

By modifying the close method according to the asyncio StreamWriter close method docs, the issue was resolved.

alexrudd2 commented 3 months ago

Thanks; good catch!