diff options
author | James J Greensky | 2009-09-30 17:30:28 -0700 |
---|---|---|
committer | Melanie | 2009-10-01 04:11:32 +0100 |
commit | 44776fea723774f0674881d69855af9657398d18 (patch) | |
tree | 272546e38e5a21bcddaf5446c9a7bc07878596b4 /OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |
parent | Create j2k cache directory if it doesn't exist. The Meshmerizer needs it there. (diff) | |
download | opensim-SC_OLD-44776fea723774f0674881d69855af9657398d18.zip opensim-SC_OLD-44776fea723774f0674881d69855af9657398d18.tar.gz opensim-SC_OLD-44776fea723774f0674881d69855af9657398d18.tar.bz2 opensim-SC_OLD-44776fea723774f0674881d69855af9657398d18.tar.xz |
Fixing LLClientView memory leak
Fixing LLClientView memory leak by disposing of all timers utilized
in LLClientView as they contain references to the callback method.
This required the use of the Terminate and Close infrastructure that
was already in place but was not being utilized.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs index 665c773..09edc94 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |||
@@ -40,7 +40,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
40 | /// Interface to a class that handles all the activity involved with maintaining the client circuit (handling acks, | 40 | /// Interface to a class that handles all the activity involved with maintaining the client circuit (handling acks, |
41 | /// resends, pings, etc.) | 41 | /// resends, pings, etc.) |
42 | /// </summary> | 42 | /// </summary> |
43 | public interface ILLPacketHandler | 43 | public interface ILLPacketHandler : IDisposable |
44 | { | 44 | { |
45 | event PacketStats OnPacketStats; | 45 | event PacketStats OnPacketStats; |
46 | event PacketDrop OnPacketDrop; | 46 | event PacketDrop OnPacketDrop; |
@@ -70,7 +70,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
70 | void OutPacket(Packet NewPack, | 70 | void OutPacket(Packet NewPack, |
71 | ThrottleOutPacketType throttlePacketType, Object id); | 71 | ThrottleOutPacketType throttlePacketType, Object id); |
72 | LLPacketQueue PacketQueue { get; } | 72 | LLPacketQueue PacketQueue { get; } |
73 | void Stop(); | ||
74 | void Flush(); | 73 | void Flush(); |
75 | void Clear(); | 74 | void Clear(); |
76 | ClientInfo GetClientInfo(); | 75 | ClientInfo GetClientInfo(); |