Event::free
(PECL libevent >= 0.0.1)
Event::free — Make event non-pending and free resources allocated for this event
说明
public
Event::free
( void
) : void
Removes event from the list of events monitored by libevent, and free resources allocated for the event.
Warning
The
Event::free()
method currently doesn't destruct the object itself. To destruct the
object completely call
unset()
, or assign NULL
.
参数
此函数没有参数。
返回值
没有返回值。
参见
- Event::__construct() - Constructs Event object