Skip to content

Commit

Permalink
UnsnoopAutoPacket does not need to be recursive
Browse files Browse the repository at this point in the history
Context-recursive packet processing has been deprecated for several major versions, there is no need to recursively create packet factories to the root when unsnooping.
  • Loading branch information
codemercenary committed Jul 11, 2015
1 parent c2ab606 commit ce9dedd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/autowiring/CoreContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1214,9 +1214,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 ce9dedd

Please sign in to comment.