mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 15:00:38 +08:00
fix something
This commit is contained in:
parent
a541289942
commit
1a7068940c
@ -20,7 +20,7 @@ internal class PluginsClassLoader(parent: ClassLoader) : ClassLoader(parent) {
|
|||||||
* 清除所有插件加载器
|
* 清除所有插件加载器
|
||||||
*/
|
*/
|
||||||
fun clear() {
|
fun clear() {
|
||||||
pluginLoaders.values.map {
|
pluginLoaders.values.forEach {
|
||||||
it.close()
|
it.close()
|
||||||
}
|
}
|
||||||
pluginLoaders.clear()
|
pluginLoaders.clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user