bugfix: session didn't disconnect signals
Dieser Commit ist enthalten in:
Ursprung
8cdc58d9c4
Commit
26dad1b295
@ -61,6 +61,12 @@ Session::Session(const std::shared_ptr<Client>& client) :
|
||||
{
|
||||
}
|
||||
|
||||
Session::~Session()
|
||||
{
|
||||
for(const auto& it : m_objectSignals)
|
||||
it.second.disconnect();
|
||||
}
|
||||
|
||||
bool Session::processMessage(const Message& message)
|
||||
{
|
||||
switch(message.command())
|
||||
|
||||
@ -93,6 +93,7 @@ class Session : public std::enable_shared_from_this<Session>
|
||||
|
||||
public:
|
||||
Session(const std::shared_ptr<Client>& client);
|
||||
~Session();
|
||||
|
||||
const boost::uuids::uuid& uuid() const { return m_uuid; }
|
||||
};
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren