Skip to content

Commit

Permalink
Remove unused mDNSResolver from CASESessionManager. (#16275)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Aug 21, 2023
1 parent 2dcabf9 commit 1135179
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/CASESessionManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ class CASESessionManager
mConfig = params;
}

virtual ~CASESessionManager() { mDNSResolver.Shutdown(); }
virtual ~CASESessionManager() {}

CHIP_ERROR Init(chip::System::Layer * systemLayer);
void Shutdown() { mDNSResolver.Shutdown(); }
void Shutdown() {}

/**
* Find an existing session for the given node ID, or trigger a new session request.
Expand Down Expand Up @@ -98,7 +98,6 @@ class CASESessionManager
void ReleaseSession(OperationalDeviceProxy * device);

CASESessionManagerConfig mConfig;
Dnssd::ResolverProxy mDNSResolver;
};

} // namespace chip

0 comments on commit 1135179

Please sign in to comment.