Describe the problem
Selecting File > Open Recent from the Arduino IDE menus fails with an uncaught exception if the only open window is minimized.
Exeption is reported as:
A JavaScript error occurred in
the main process
Uncaught Exception:
TypeError: Object has been destroyed
at _.send (node:electron/js2c/
browser_init:2:73448)
at t.nodeld.r.click (/Applications/Arduino
IDE.app/Contents/Resources/app/lib/
backend/electron-main.js:5:29489)
at Menultem.click (node:electron/js2c/
browser_init:2:33700)
at a._executeCommand (node:electron/
js2c/browser_init:2:39128)
To reproduce
- Open a project in Arduino IDE
- Open a new window
- Minimize the new window
- Close the project
- Select File > Open Recent from the Arduino IDE menus.
🐛 An exception is raised.
Expected behavior
Work
Arduino IDE version
2.3.8
Operating system
macOS
Operating system version
Sequoia 15.7.1 (24G231)
Issue checklist
Describe the problem
Selecting File > Open Recent from the Arduino IDE menus fails with an uncaught exception if the only open window is minimized.
Exeption is reported as:
To reproduce
🐛 An exception is raised.
Expected behavior
Work
Arduino IDE version
2.3.8
Operating system
macOS
Operating system version
Sequoia 15.7.1 (24G231)
Issue checklist