加入销毁变量
Showing
1 changed file
with
5 additions
and
2 deletions
| ... | @@ -97,9 +97,12 @@ class StakeholderIncomeSyncCommand extends Command | ... | @@ -97,9 +97,12 @@ class StakeholderIncomeSyncCommand extends Command |
| 97 | $this->consumeTask($redis, $http_res, $key, $id); | 97 | $this->consumeTask($redis, $http_res, $key, $id); |
| 98 | 98 | ||
| 99 | //销毁变量 | 99 | //销毁变量 |
| 100 | unset($redis, $id, $task, $serial_no, $http_res, $http_data); | 100 | unset($id, $task, $serial_no, $http_res, $http_data); |
| 101 | } | ||
| 102 | } | 101 | } |
| 102 | |||
| 103 | unset($redis, $key); | ||
| 104 | |||
| 105 | } //while (true) { | ||
| 103 | } | 106 | } |
| 104 | 107 | ||
| 105 | /** | 108 | /** | ... | ... |
-
Please register or sign in to post a comment