Compiling brush doesn't seem to finish correctly sometimes, which causes loss of data #81
Labels
No labels
bug
c:haku
c:rkgk backend
c:rkgk frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: liquidex/rkgk#81
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sometimes it seems like the client state can get desynced (server render thread dies due to a panic?) and then the server starts dropping all requests for drawing the brush.
These panics should never happen of course, but we need better logging first to determine the exact cause.
I fixed the panic, but what should probably happen with any panics on the render thread is that we should
catch_unwind
them and then kill the connection.It seems like tokio channels are not
catch_unwind
-safe, so we can't easilycatch_unwind
the whole render thread and kill the connection if something wrong happens, as far as I reckon.I'm bumping this down in the backlog becasue the parser panic is fixed, and I have no idea how to kill the connection if the render thread dies :/