Note: Looks like a lingering scroll event handler on a deleted CodeEditorView node is getting called after its node id has been reclaimed by a SceneView. Perhaps JavaFX internals are to blame? A possible workaround could be to clear all the event handlers from the canvas when closing the Tab.
Expected behaviour
It shouldn't crash
Actual behaviour
It crashed
Steps to reproduce
Created a pfx. Changed atlas. Set animation. Space to preview. Mouse wheel to zoom out. Boom.
Note: Looks like a lingering scroll event handler on a deleted
CodeEditorView
node is getting called after its node id has been reclaimed by aSceneView
. Perhaps JavaFX internals are to blame? A possible workaround could be to clear all the event handlers from thecanvas
when closing theTab
.