Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 12-03-2015, 11:27 PM   #1
Airal
Banned
 
Join Date: Nov 2015
Posts: 406
Default 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.
Airal is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.