GeoIP dispose fix
This commit is contained in:
parent
0cdafc0e81
commit
5d3f5eed90
2 changed files with 6 additions and 3 deletions
|
|
@ -36,5 +36,5 @@ using System.Runtime.InteropServices;
|
|||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
|
||||
[assembly: AssemblyVersion("3.4.0.1221")]
|
||||
[assembly: AssemblyFileVersion("3.4.0.1221")]
|
||||
[assembly: AssemblyVersion("3.4.1.1221")]
|
||||
[assembly: AssemblyFileVersion("3.4.1.1221")]
|
||||
|
|
|
|||
|
|
@ -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