* forgot something
This commit is contained in:
parent
ec812a9b0f
commit
032eee07f8
@ -74,9 +74,18 @@ void RealmSocket::OnConnectFailed(void)
|
||||
}
|
||||
|
||||
void RealmSocket::OnException(void)
|
||||
{
|
||||
if(_ok)
|
||||
{
|
||||
logerror("RealmSocket: Exception!");
|
||||
_ok = false;
|
||||
}
|
||||
}
|
||||
|
||||
void RealmSocket::OnDelete(void)
|
||||
{
|
||||
_ok = false;
|
||||
_session->SetMustDie();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ public:
|
||||
void OnConnectFailed(void);
|
||||
void OnException(void);
|
||||
void OnAccept(void);
|
||||
void OnDelete(void);
|
||||
int Close(void);
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user