diff --git a/core/adapter.go b/core/adapter.go index e7567bc..dd063cb 100644 --- a/core/adapter.go +++ b/core/adapter.go @@ -173,7 +173,7 @@ func (f *Factory) Init(botplt, botid string) { f: f, } if v, ok := Bots[[2]string{botplt, botid}]; ok { - v.Destroy() + go v.Destroy() console.Warn("%s机器人%s因冲突销毁!", botplt, botid) } Bots[[2]string{botplt, botid}] = f diff --git a/core/admin/index.html b/core/admin/index.html index c183d63..c5e374d 100644 --- a/core/admin/index.html +++ b/core/admin/index.html @@ -8,6 +8,6 @@
- +