Open kdowney-cloudwallcapital opened 2 years ago
Note the workaround is pretty easy, even if it's a hack. Replace the close() with this:
# bug in graphql_client; close() tries join() current thread
client._shutdown_receiver = True
client._connection.close()
On Python 3.8.12 with py-graphql-client 0.1.1 and websockets-client 0.54.0 running on Ubuntu focal, I see this exception when I call close():
Example that reproduces the issue: