(PECL libevent >= 0.0.1)
event_base_free — Destroy event base
Destroys the specified event_base and frees all the resources associated. Note that it's not possible to destroy an event base with events attached to it.
Valid event base resource.