View Single Post
Old 06-12-2017, 02:47 PM   #1
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default Closing Reaper with script running data bug? Solved - please ignore - my fault.

I'm having issues with saving data when Reaper is closed and my script running.

The atexit function is being called - but when my script goes to save the data it seems all the data has already been reset to default (deleted). So the save routine saves none of the data and overwrites any good data previously saved.

This doesn't happen when closing the script window manually - which should be running the same atexit routines - so I'm guessing at this stage that Reaper is clearing the script data before the save routines are run when closing Reaper with the script running.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website

Last edited by lb0; 06-12-2017 at 11:48 PM.
lb0 is offline   Reply With Quote