This is a follow-up to the following changes:
Scenario:
error_run_frame in live.lua)config in the save directory before quittingThis particular error is serious enough we don't want to just randomly see if things got better. We don't want to leave the error loop unless there's a code change and any affirmative reason to believe things might have improved.
Note: I'm seeing some reports that the above scenario might be easier to trigger on Windows. The key release of ctrl+g might itself be taking the app out of the error event loop. This fix should improve matters on any OS.
N2JXCLNTZMW4KD2BGALD326JEQCVQ2AAD4JWBWEG5GQLERPKQRPQC 24TI6Z37DFRITXCLED3MTXAMRBPA6TMPH642AGCIMJSO3BMNHWAQC Z2VZTIXYXUZXF4ZUVG54IOIRSMBGUZJZ2RTBPYOJC7NWBOUFU6YAC N2NUGNN4E37TNLC6JZE4H4HKJZPNVBV4VYTLXW57AP5BOU4ZK7LQC 5UNXE4KMGRIKURKCT7O7JZ7QXUWB2MMTJRZJCJ2CVPEDHC237UBAC L2TYWUSDK63PUPQK7WNTLC4VTLIXC2DGVCTJG7RKVG2ZUHX7QC4QC LRDM35CEK3OHXOTB7TEFJRL7P6PQWO5ZG3F2BVA7DIDFHBPJQ7KAC 6KWWBTHIBL5OC34J2QFGMVZHPMIGFHVICSABW2UP34OJO67J7EGQC 7TQAF4BYIK75EEYCCK7VEUSZHNCWMWIA3HZGQKIILYESUZ5ZZRVQC ## Variables you can set/read* `Disallow_error_recovery_on_key_release` -- currently needed to handle onespecific hard-to-recover-from error in `snapshot_canvas`. Subject toremoval, but I'll document it here as long as I support it. Please[let me know](http://akkartik.name/contact) if you find a new need to reador write it.
print('=== trying to restore main event loop')error_frame_keys_down[a] = nilApp.run_frame = main_run_frame
if not Disallow_error_recovery_on_key_release thenprint('=== trying to restore main event loop')error_frame_keys_down[a] = nilApp.run_frame = main_run_frameend