### Expected Behavior Safari does not crash. ### Actual Behavior Safari crashes. ### Steps to Reproduce Steps to reproduce the behavior: 1. Launch Safari and open Scratch 3.0 like https://scratchfoundation.github.io/scratch-gui/develop/ 2. Add micro:bit extension 3. Connect to a micro:bit through Scratch Link 2.0.2, and disconnect from the micro:bit 4. Repeat 'Step 3' 7 times, then see error ### System Details - Hardware - MacBook Air (Sonoma 14.0) - Mac Studio (Ventura 13.5.2) - Mac mini (Ventura 13.2.1) - Software - Safari - Scratch Link 2.0.2 Please note that Chrome and Firefox do not crash.