Don't use Session after finishSession call

This commit is contained in:
HanzZ 2011-07-20 19:32:54 +02:00
parent 0f888d07d9
commit 097d52c8f0
2 changed files with 0 additions and 2 deletions

View file

@ -75,7 +75,6 @@ void ServerFromClientSession::handlePasswordInvalid(const std::string &user) {
userRegistry_->onPasswordInvalid.disconnect(boost::bind(&ServerFromClientSession::handlePasswordInvalid, this, _1));
getXMPPLayer()->writeElement(boost::shared_ptr<AuthFailure>(new AuthFailure));
finishSession(AuthenticationFailedError);
onPasswordInvalid();
}
}

View file

@ -42,7 +42,6 @@ namespace Swift {
~ServerFromClientSession();
boost::signal<void ()> onSessionStarted;
boost::signal<void ()> onPasswordInvalid;
void setAllowSASLEXTERNAL();
const std::string &getUser() {
return user_;