+ Rework NetState nullification.
This commit is contained in:
parent
f11c19bc83
commit
0caf78c132
1 changed files with 2 additions and 5 deletions
|
|
@ -8038,12 +8038,9 @@ namespace Server
|
|||
{
|
||||
get
|
||||
{
|
||||
if (m_NetState != null && m_NetState.Socket == null)
|
||||
if (m_NetState != null && m_NetState.Socket == null && !m_NetState.IsDisposing)
|
||||
{
|
||||
if (m_NetState.IsDisposing)
|
||||
m_NetState = null;
|
||||
else
|
||||
NetState = null;
|
||||
NetState = null;
|
||||
}
|
||||
|
||||
return m_NetState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue