atExit() and sws startup script run backwards
In my startup script I have
RPR_atexit("msg('Ok');")
msg("Starting");
The order is not correct.
When I load a project, I get
Ok.
[No Starting]
When I load it again immediately after, I get
Starting
It's as if the startup script is executed every other load(reload at least) and atExit runs after the project is reloaded.(as if reaper closes the last opened project only when the one being opened is done)
Weird behavior, doesn't seem correct.
|