Merge branch 'general-devel' of github.com:TShock/TShock into general-devel

This commit is contained in:
Zidonuke 2011-12-22 01:57:12 -05:00
commit 31d9161b77
2 changed files with 6 additions and 3 deletions

View file

@ -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")]

View file

@ -295,7 +295,10 @@ namespace TShockAPI
{
if (disposing)
{
Geo.Dispose();
if (Geo != null)
{
Geo.Dispose();
}
GameHooks.PostInitialize -= OnPostInit;
GameHooks.Update -= OnUpdate;
ServerHooks.Join -= OnJoin;