message: client->onError COROUTINE
diff: @@ -340,10 +340,11 @@ static void client_onError(swClient *cli)
  SWOOLE_GET_TSRMLS;
  zval *zobject = cli->object;
  zend_update_property_long(swoole_client_coro_class_entry_ptr, zobject, ZEND_STRL("errCode"), SwooleG.error TSRMLS_CC);
  - if (!cli->released)
  + if (cli->released)
  {
  - php_swoole_client_free(zobject, cli TSRMLS_CC);
  + return;
  }
  + php_swoole_client_free(zobject, cli TSRMLS_CC);
  client_execute_callback(zobject, SW_CLIENT_CB_onError);
  }
  