[Mac Simulator]: Mac simulator shows dialog runtime error on quit for last error reported that was already fixed
Describe the bug Using the Mac Simulator, and pressing cmd+Q to quit application, the simulator shows a runtime error dialog for the last reported coding runtime error in the app. The error was already fixed in the code and no longer reporting that error while using the simulator. It only shows the error on quit if a runtime error was reported while having the simulator open.
To Reproduce Steps to reproduce the behavior:
- Launch Mac Simulator
- Open project
- Create a runtime error by adding error code
- Fix the error code so runtime error no longer reports
- Click relaunch button in dialog
- Runtime error dialog no longer shows
- Quit the simulator app
- The previous runtime error shows
Simulator version 3637 Mac dmg on a MacBook Pro 15 2016 macOS Big Sur v11.1
Here are some of the details from the Problem Report that gets generated by the MacBook to be sent to Apple for applications that crash for when this application crashes. I can provide the full data dump if needed, but it lists a lot more detail and most-likely too big to enter here. The simulator still crashes every time I try to close it.
Process: Corona Simulator [20609] Path: /Applications/Corona-3659/Corona Simulator.app/Contents/MacOS/Corona Simulator Identifier: com.coronalabs.Corona_Simulator Version: 2021.3659 (2021.3659) Code Type: X86-64 (Native) Parent Process: plugin_host-3.8 [16866] Responsible: sublime_text [16796] User ID: 501
Date/Time: 2021-10-28 22:57:41.513 -0400 OS Version: macOS 11.6 (20G165) Report Version: 12 Bridge OS Version: 3.0 (14Y908) Anonymous UUID: 630A4DBE-F997-575C-3D86-705127604AE1
Sleep/Wake UUID: 2C417DCA-C5BE-4986-98A2-950C6E7E84DD
Time Awake Since Boot: 190000 seconds Time Since Wake: 650 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000088 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [20609]
VM Regions Near 0x88: --> __TEXT 10b656000-10b8ea000 [ 2640K] r-x/r-x SM=COW /Applications/Corona-3659/Corona Simulator.app/Contents/MacOS/Corona Simulator