Skip to content

Commit

Permalink
Merge pull request #102 from opwechat/fix-exceptionHandler
Browse files Browse the repository at this point in the history
called wrong function
  • Loading branch information
Hanson authored May 2, 2017
2 parents 6e1e06b + f09aad1 commit fe457fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Core/MessageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ public function handleCheckSync($retCode, $selector, $test = false)
} else {
Console::log('微信客户端异常退出');
if ($this->exceptionHandler) {
call_user_func_array($this->exceptionHandler, []);
}

if ($this->exitHandler) {
call_user_func_array($this->exitHandler, []);
}

Expand Down

0 comments on commit fe457fb

Please sign in to comment.