GeoIP dispose fix
This commit is contained in:
parent
0cdafc0e81
commit
5d3f5eed90
2 changed files with 6 additions and 3 deletions
|
|
@ -295,7 +295,10 @@ namespace TShockAPI
|
|||
{
|
||||
if (disposing)
|
||||
{
|
||||
Geo.Dispose();
|
||||
if (Geo != null)
|
||||
{
|
||||
Geo.Dispose();
|
||||
}
|
||||
GameHooks.PostInitialize -= OnPostInit;
|
||||
GameHooks.Update -= OnUpdate;
|
||||
ServerHooks.Join -= OnJoin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue