I received a report from a user that noticed that Reaper somethimes hangs when opening a project that uses my plugin:
it will start up, auto-load the last project and then hang. If you kill Reaper and then restart it, it will say that it could not start last time you used it and asks if it should skip loading the last project, which then works (if you skip).
What seems to trigger it, is closing Reaper while the plugin GUI window is visible.
If you first close the plugin window, and then save and quit, there is no problem.
So, the problem only shows if these 2 conditions are met:
- the project was saved when the plugin GUI was open, and
- Reaper starts up with such a project
There is also no problem if the project is loaded after Reaper started up properly, even if that project was saved while the plugin window was still open. I haven't seen this problem with other hosts, but it might still be something in my plugin as well.
Did anyone ever encounter something like this (and with Reaper in particular) and where to start looking?
Any ideas on what could be so special about the startup phase in Reaper when the last open project is loaded automatically?