Prepare v0.2.0

This commit is contained in:
Bob Weinand 2017-05-07 22:35:22 +02:00
parent 92bb903b1b
commit c38fbc92b3
3 changed files with 11 additions and 11 deletions

View File

@ -10,11 +10,11 @@
<email>bobwei9@hotmail.com</email>
<active>yes</active>
</lead>
<date>2017-03-06</date>
<time>13:00:00</time>
<date>2017-05-07</date>
<time>21:00:00</time>
<version>
<release>0.1.2</release>
<api>0.1.2</api>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>beta</release>
@ -22,9 +22,8 @@
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fix uv_listen()
- Fix a few memory leaks
- Fix loop cleanup
- Move from resource handles to object handles
- Various smaller fixes
</notes>
<contents>
<dir name="/">

View File

@ -2039,16 +2039,17 @@ static void php_uv_close_cb(uv_handle_t *handle)
php_uv_t *uv = (php_uv_t *) handle->data;
TSRMLS_FETCH_FROM_CTX(uv->thread_ctx);
if (!(GC_FLAGS(&uv->std) & IS_OBJ_DESTRUCTOR_CALLED)) {
if (!PHP_UV_IS_DTORED(uv)) {
ZVAL_OBJ(&params[0], (zend_object *) uv);
php_uv_do_callback2(&retval, uv, params, 1, PHP_UV_CLOSE_CB TSRMLS_CC);
zval_ptr_dtor(&retval);
/* manually clean the uv handle to avoid default dtor handling */
clean_uv_handle(uv);
}
PHP_UV_DEBUG_OBJ_DEL_REFCOUNT(uv_close_cb, uv);
/* manually clean the uv handle to avoid default dtor handling */
clean_uv_handle(uv);
OBJ_RELEASE(&uv->std);
}

View File

@ -3,7 +3,7 @@
#define PHP_UV_H
#define PHP_UV_EXTNAME "uv"
#define PHP_UV_VERSION "0.1.2"
#define PHP_UV_VERSION "0.2.0"
#ifdef HAVE_CONFIG_H
#include "config.h"