mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
Loader类改进 增加clearInstance方法 用于清除实例化对象单例存储 去除 instance方法 App类run方法增加清除实例化对象机制
This commit is contained in:
@@ -124,7 +124,9 @@ class App
|
||||
|
||||
// 监听app_end
|
||||
Hook::listen('app_end', $data);
|
||||
|
||||
// 清空类的实例化
|
||||
Loader::clearInstance();
|
||||
|
||||
// 输出数据到客户端
|
||||
if ($data instanceof Response) {
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user