LIBOMV-636: Dereference timers so GC can collect GridClient and managers

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2998 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Latif Khalifa
2009-07-17 16:54:45 +00:00
parent 13f10b25bf
commit de0e00a1f0
4 changed files with 66 additions and 20 deletions

View File

@@ -581,6 +581,10 @@ namespace OpenMetaverse
if (StatsTimer != null) StatsTimer.Dispose();
if (PingTimer != null) PingTimer.Dispose();
AckTimer = null;
StatsTimer = null;
PingTimer = null;
// Kill the current CAPS system
if (Caps != null)
{