Switch to side-by-side view
--- a/libupnpp/control/service.hxx +++ b/libupnpp/control/service.hxx @@ -73,7 +73,10 @@ /** An empty one */ Service() : m_reporter(0) {} - virtual ~Service() {} + virtual ~Service() + { + o_calls.erase(m_SID); + } /** Retrieve my root device "friendly name". */ std::string getFriendlyName() const {return m_friendlyName;}