Closed XertroV closed 2 years ago
You are indeed seeing ManiaExchange and MXRandom being loaded because they were also being updated by the plugin manager.
This is happening because the plugin manager doesn't keep an index of unloaded plugins like Openplanet itself does. I'll look into this 👍
Cool. BTW I noticed that reloading a dependency via ctrl+r does reload the dependent plugins (which is v useful for dev, particularly when importing stuff between two plugins you're actively working on).
Correct, because that is from within Openplanet itself which does index dependencies on reloading. The plugin manager "reloads" plugins in a different way:
yield()
since the unload is queued and takes 1 frame to completeIn Openplanet itself, the process is more direct:
I'm working on making it so the plugin manager will work in the following way:
yield()
since the unload is queued and takes 1 frame to completeI might also have to look into optimizing this process so when multiple plugins are being updated, a singular index is built for all of those plugins rather than an index for each, followed by dependents reloading multiple times.
Probably low-priority (easy for me to workaround / low impact).
The situation is:
I am not actually sure if any plugins were that were unloaded as being dependent on betterchat were deliberately reloaded since the other 2 (MXRandom and ManiaExchange) were also updated, so maybe they were just reloaded as part of their own update.
this screenshot shows:
cotd-hud-{dev,prelrelease,latest}
were running at 9:14:11