Skip to content

Commit

Permalink
Merge pull request #640 from leapmotion/fix-unsnooppacket
Browse files Browse the repository at this point in the history
UnsnoopAutoPacket does not need to be recursive
  • Loading branch information
codemercenary committed Jul 11, 2015
2 parents f686b78 + 841e33e commit 12384e6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/autowiring/CoreContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1213,10 +1213,6 @@ void CoreContext::UnsnoopAutoPacket(const CoreObjectDescriptor& traits) {

// Always remove from this context's PacketFactory:
Inject<AutoPacketFactory>()->RemoveSubscriber(traits.subscriber);

// Handoff to parent:
if (m_pParent)
m_pParent->UnsnoopAutoPacket(traits);
}

std::ostream& operator<<(std::ostream& os, const CoreContext& rhs) {
Expand Down

0 comments on commit 12384e6

Please sign in to comment.