From 11473493e4c508ef72a20d820143b47163fd2d81 Mon Sep 17 00:00:00 2001 From: Zidonuke Date: Wed, 21 Dec 2011 02:37:27 -0500 Subject: [PATCH] Codename Change <3 Dispose GeoIP properly so TerrariaAPI-Server reload works. --- TShockAPI/TShock.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 465101a6..c25ea3ed 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -49,7 +49,7 @@ namespace TShockAPI public class TShock : TerrariaPlugin { public static readonly Version VersionNum = Assembly.GetExecutingAssembly().GetName().Version; - public static readonly string VersionCodename = "1.1 broke our API"; + public static readonly string VersionCodename = "Zidonuke fixin' what Redigit doesn't"; public static string SavePath = "tshock"; @@ -295,6 +295,7 @@ namespace TShockAPI { if (disposing) { + Geo.Dispose(); GameHooks.PostInitialize -= OnPostInit; GameHooks.Update -= OnUpdate; ServerHooks.Join -= OnJoin;