1--TEST--
2Check uv_async has no memory leak
3--FILE--
4<?php
5$m = memory_get_usage();
6
7$loop = uv_loop_new();
8
9$async = uv_async_init($loop, static function ($async) {
10	uv_close($async);
11});
12uv_async_send($async);
13
14unset($async);
15
16uv_run($loop, UV::RUN_DEFAULT);
17uv_loop_delete($loop);
18unset($loop);
19
20echo memory_get_usage() - $m, PHP_EOL;
21--EXPECTF--
220
23