From c6adb4ee188a1b3dfead408639005af89865a5a1 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sun, 26 Jul 2020 12:56:29 +0000 Subject: [PATCH] Fix plugin hot load --- src/plugin/plugin.cr | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugin/plugin.cr b/src/plugin/plugin.cr index acd5b98..3d7ec84 100644 --- a/src/plugin/plugin.cr +++ b/src/plugin/plugin.cr @@ -88,8 +88,7 @@ class Plugin getter storage_path = "" def self.build_info_ary - return unless @@info_ary.empty? - + @@info_ary.clear dir = Config.current.plugin_path Dir.mkdir_p dir unless Dir.exists? dir