Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthick-Somasundaresan committed Aug 21, 2024
1 parent 2cc6545 commit 95ab147
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions WebServer/WebServerImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,6 @@ namespace Plugin {
RUNNING
};
class ChannelMap;
#if 0
class StateRequestHandler : public Core::IDispatch {
public:
StateRequestHandler() = delete;
StateRequestHandler(const StateRequestHandler& ) = delete;
StateRequestHandler& operator=(const StateRequestHandler&) = delete;
StateRequestHandler(WebServerImplementation& parent, PluginHost::IStateControl::command cmd): _cmd(cmd), _parent(parent) {
}
void Dispatch () override {
_parent.RequestForStateChange(_cmd);
}
private:
PluginHost::IStateControl::command _cmd;
WebServerImplementation& _parent;

};
#endif
class WebFlow {
public:
WebFlow(const WebFlow& a_Copy) = delete;
Expand Down Expand Up @@ -537,7 +520,8 @@ PUSH_WARNING(DISABLE_WARNING_THIS_IN_MEMBER_INITIALIZER_LIST)
POP_WARNING()
~ChannelMap()
{
CloseAndCleanupConnections();
BaseClass::Iterator index(BaseClass::Clients());
ASSERT(index.Count() == 0);
}

public:
Expand Down

0 comments on commit 95ab147

Please sign in to comment.