Timeout
Hi,
I am using the plugin system to run an optimization algorithm in c++. This algorithm can take a long time to run.
I noticed that MuseScore shuts down after a while. 30 seconds or so? I can imagine that it thinks the plugin is not responding anymore, while it is just just running the algorithm.
Any suggestions on how I could prevent mscore from shutting down? By letting the javascript output something every now and then or so... :-)
Thanks for any pointers!
Comments
As far as I know there is no time out in the plugin execution. Are you sure that it's not caused by your code ?
In reply to As far as I know there is no by [DELETED] 5
It is not caused by my code, since it runs fine in a terminal or QtCreator.
Adding the -1 parameter in the plugin file seems to have fixed it:
process.waitForFinished(-1);