Codename Change <3
Dispose GeoIP properly so TerrariaAPI-Server reload works.
This commit is contained in:
parent
74c493bd6a
commit
11473493e4
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue