diff options
author | Diva Canto | 2011-02-05 19:34:02 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-05 19:34:02 -0800 |
commit | cc81d924cab97889538c20e9bfa45008ecfead3e (patch) | |
tree | 642c0ee07bbc32b3c62ae376d4d14473d5fcd2a3 /OpenSim/Framework | |
parent | One more diagnosis command: (diff) | |
download | opensim-SC_OLD-cc81d924cab97889538c20e9bfa45008ecfead3e.zip opensim-SC_OLD-cc81d924cab97889538c20e9bfa45008ecfead3e.tar.gz opensim-SC_OLD-cc81d924cab97889538c20e9bfa45008ecfead3e.tar.bz2 opensim-SC_OLD-cc81d924cab97889538c20e9bfa45008ecfead3e.tar.xz |
Fixed Caps handlers leak
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Capabilities/CapsHandlers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Capabilities/CapsHandlers.cs b/OpenSim/Framework/Capabilities/CapsHandlers.cs index 864e6dd..e1c800e 100644 --- a/OpenSim/Framework/Capabilities/CapsHandlers.cs +++ b/OpenSim/Framework/Capabilities/CapsHandlers.cs | |||
@@ -88,8 +88,8 @@ namespace OpenSim.Framework.Capabilities | |||
88 | /// handler to be removed</param> | 88 | /// handler to be removed</param> |
89 | public void Remove(string capsName) | 89 | public void Remove(string capsName) |
90 | { | 90 | { |
91 | // This line must be here, or caps will break! | ||
92 | m_httpListener.RemoveStreamHandler("POST", m_capsHandlers[capsName].Path); | 91 | m_httpListener.RemoveStreamHandler("POST", m_capsHandlers[capsName].Path); |
92 | m_httpListener.RemoveStreamHandler("GET", m_capsHandlers[capsName].Path); | ||
93 | m_capsHandlers.Remove(capsName); | 93 | m_capsHandlers.Remove(capsName); |
94 | } | 94 | } |
95 | 95 | ||