Codename Change <3

Dispose GeoIP properly so TerrariaAPI-Server reload works.
This commit is contained in:
Zidonuke 2011-12-21 02:37:27 -05:00
parent 74c493bd6a
commit 11473493e4

View file

@ -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;