You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When shutting down the remote can multiple times, an endless loop occur.
In python-can/bus.py#L482 double shutdown is handled by just returning.
But in in this project, the first time everything is handled correctly and an WebsocketClosed exception is thrown and handled correctly.
But the second time, the recv in protocol.py#L33 with raise a ValueError("An error occurred: file descriptor cannot be a negative integer (-1)"), which will be caught by the surrounding catch and will never get out to be caught as WebsocketClosed.
When shutting down the remote can multiple times, an endless loop occur.
In python-can/bus.py#L482 double shutdown is handled by just returning.
But in in this project, the first time everything is handled correctly and an
WebsocketClosed
exception is thrown and handled correctly.But the second time, the
recv
in protocol.py#L33 with raise aValueError("An error occurred: file descriptor cannot be a negative integer (-1)")
, which will be caught by the surrounding catch and will never get out to be caught as WebsocketClosed.The text was updated successfully, but these errors were encountered: