mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 16:40:43 +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() {
|
||||
pluginLoaders.values.map {
|
||||
pluginLoaders.values.forEach {
|
||||
it.close()
|
||||
}
|
||||
pluginLoaders.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user