folly::EventHandler::detachEventBase

Detach the handler from its EventBase.

Synopsis

Declared in <folly/io/async/EventHandler.h>

void
detachEventBase();

Description

This may only be called when the handler is not currently registered. Once detached, the handler may not be registered again until it is re-attached to a EventBase by calling attachEventBase().

This method must be called from the current EventBase's thread.