plugins: when loading active ones, loop until no more proxy plugins are added
commite5bb6571c60be2169c3d66ae38c72d72709bf10e
authorThomas Martitz <kugel@rockbox.org>
Wed, 26 Aug 2015 21:58:18 +0000 (26 23:58 +0200)
committerThomas Martitz <kugel@rockbox.org>
Mon, 5 Oct 2015 20:11:12 +0000 (5 22:11 +0200)
tree84fc9cde429d5007b08ee8d78a46464f6f86e9e0
parent203644a23397a0f4bca56eff820bac547208561b
plugins: when loading active ones, loop until no more proxy plugins are added

During the loading of the active plugins they are also initialized (done at
startup). As a result, these plugins could be pluxys and make more plugins
available, some of which may be active as well.

Because of this the loop has to be restarted if pluxies become
available to also load active plugins that depend on the pluxy.

The loop is only restarted at the end so only nested pluxys could possibly
cause the loop to be run more than twice.
src/plugins.c