Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Node panics shouldn't bring down the editor

Open Keavon opened this issue 6 months ago • 0 comments

Sandbox various components, like the node graph, in panic handlers. Reload those components instead of having to reload the whole page. Avoid making the document get lost since that's highly destructive to the user and almost always shouldn't be corrupted by whatever bug resulted in the crash, so the document data should most likely be in tact.

Some options:

  • Move the graph evaluator into a web worker?
  • Something with panic handlers?
  • Reboot the node graph executor somehow?

Keavon avatar Jan 07 '24 01:01 Keavon