ArnoldSmith86 / virtualtabletop

a virtual surface in the browser on which you can play board, dice and card games
https://virtualtabletop.io
GNU General Public License v3.0
173 stars 31 forks source link

crash when a widget is deleted while it is being moved #2317

Open ArnoldSmith86 opened 2 months ago

ArnoldSmith86 commented 2 months ago

Happened while testing #2258. I tried to move a clone and smart clone interfered and removed the widget.

bjalder26 commented 4 weeks ago

It looks like when the inputHandler() function tries to get the widget based on it's id, then it comes back with null, and this: !n.passthroughMouse crashes the browser.

image