folly::DelayedDestruction::destroy

destroy() requests destruction of the object.

Synopsis

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

virtual
void
destroy();

Description

This method will destroy the object after it has no more functions running higher up on the stack. (i.e., No more DestructorGuard objects exist for this object.) This method must be used instead of the destructor.