Faster onDestroy
authorPavlo Kushnir <pavlo@fb.com>
Thu, 28 Apr 2016 00:45:07 +0000 (17:45 -0700)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Thu, 28 Apr 2016 00:50:30 +0000 (17:50 -0700)
commit33344a23da0a447833118c7456366a1aed7c3c03
tree9dafa9dc2155adbe44213f6c8b4783a550383112
parentb609f8ee96bac031e30970215bb625a99dc01a68
Faster onDestroy

Summary: there is no need to call `std::function::invoke` for every DestructorGuard.

Reviewed By: yfeldblum

Differential Revision: D3229345

fb-gh-sync-id: c42f8cd05576d56b6a9b2f9d06878d9b01a36e94
fbshipit-source-id: c42f8cd05576d56b6a9b2f9d06878d9b01a36e94
folly/io/async/DelayedDestruction.h
folly/io/async/DelayedDestructionBase.h
folly/io/async/test/DelayedDestructionBaseTest.cpp
folly/io/async/test/UndelayedDestruction.h