mirror of
https://github.com/DanilaFe/abacus
synced 2024-11-04 09:58:30 -08:00
Fix not clearing unloaded plugins.
This commit is contained in:
parent
7a0863380a
commit
f28e915c9a
|
@ -209,6 +209,9 @@ public class PluginManager {
|
||||||
if (disabledPlugins.contains(plugin.getClass().getName())) continue;
|
if (disabledPlugins.contains(plugin.getClass().getName())) continue;
|
||||||
plugin.disable();
|
plugin.disable();
|
||||||
}
|
}
|
||||||
|
registeredFunctions.clear();
|
||||||
|
registeredOperators.clear();
|
||||||
|
registeredNumberImplementations.clear();
|
||||||
cachedInterfaceImplementations.clear();
|
cachedInterfaceImplementations.clear();
|
||||||
cachedPi.clear();
|
cachedPi.clear();
|
||||||
listeners.forEach(e -> e.onUnload(this));
|
listeners.forEach(e -> e.onUnload(this));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user