Make event non-pending and free resources allocated for this event

Event::free

(PECL event >= 1.2.6-beta)

Event::freeMake event non-pending and free resources allocated for this event

說明

public Event::free(): void

Removes event from the list of events monitored by libevent, and free resources allocated for the event.

警告

The Event::free() method currently doesn't destruct the object itself. To destruct the object completely call unset() , or assign null.

參數

此函式沒有參數。

返回值

沒有返回值。

參見

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *