Fix crash/hang using WebSocket in a previously disconnected socket

This can happen using Pribambase extension when we close Aseprite in
some strange way (e.g. killing the process), and the connection is not
closed correctly. It looks like the Blender addon is in an invalid
state and the data cannot be sent any more, but without this patch
Aseprite just hangs/crashes if we retry sending data, but with this
fix we can receive/show that an error happened sending data.

Related to: https://github.com/machinezone/IXWebSocket/pull/481
This commit is contained in:
David Capello 2023-08-29 12:39:12 -03:00
parent 702a7d5265
commit 6c5b27db81

@ -1 +1 @@
Subproject commit 5bb1e2d51beb8475cb0f32890d1a233206d1a089
Subproject commit 89c92099597d47b61ba35f84ae2a351432a422e5