优化插件初始化

This commit is contained in:
cool 2024-03-21 12:57:10 +08:00
parent 93c1d4efbc
commit d926285766

View File

@ -51,7 +51,6 @@ export class PluginService extends BaseService {
* @param type * @param type
*/ */
async modifyAfter() { async modifyAfter() {
await this.reInit();
// 多进程发送全局事件pm2下生效 // 多进程发送全局事件pm2下生效
this.coolEventManager.globalEmit(GLOBAL_EVENT_PLUGIN_INIT, false); this.coolEventManager.globalEmit(GLOBAL_EVENT_PLUGIN_INIT, false);
} }