fix(core): Removes disposable netstates. (#467)
- [X] Removes IDisposable from NetState - [X] Swaps Disconnect and Dispose methods
This commit is contained in:
parent
079eeb1b96
commit
67625ad249
49 changed files with 204 additions and 210 deletions
|
|
@ -99,7 +99,7 @@ namespace Server.Misc
|
|||
return true;
|
||||
case ProfanityAction.Disconnect:
|
||||
{
|
||||
from.NetState?.Dispose();
|
||||
from.NetState?.Disconnect();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue