leapmotion/autowiring — pull request #261 by codemercenary (2014-12-13 04:46:03+00:00)
Title: Adding TeardownListener functionality to AutoPacket

This gives users the ability to register a lambda which is notified when the underlying AutoPacket is destroyed. This is useful when attempting to evaluate whether an AutoPacket has been fully processed.

Users to receive the packet on teardown should make the following call:

packet->AddTeardownListener([] {
// ...foo...
});