fix something

This commit is contained in:
Sincky 2020-04-05 16:07:02 +08:00
parent a541289942
commit 1a7068940c

View File

@ -20,7 +20,7 @@ internal class PluginsClassLoader(parent: ClassLoader) : ClassLoader(parent) {
* 清除所有插件加载器
*/
fun clear() {
pluginLoaders.values.map {
pluginLoaders.values.forEach {
it.close()
}
pluginLoaders.clear()