ret = FAILURE;
}
+ http_request_set_progress_callback(obj->request, NULL);
+
if (!EG(exception) && zend_hash_exists(&Z_OBJCE_P(getThis())->function_table, "onfinish", sizeof("onfinish"))) {
zval *param;
zval_ptr_dtor(¶m);
}
- http_request_set_progress_callback(obj->request, NULL);
-
return ret;
}