diff options
author | Oren Hurvitz | 2013-12-19 14:08:46 +0200 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-31 00:44:22 +0000 |
commit | b8e22f02e79e84d29e65a46751d68235f93aa8e8 (patch) | |
tree | e8b13e3f664cef71fc593e13e025bee95c985c86 /OpenSim/Services/Connectors | |
parent | Made error messages more consistent (diff) | |
download | opensim-SC_OLD-b8e22f02e79e84d29e65a46751d68235f93aa8e8.zip opensim-SC_OLD-b8e22f02e79e84d29e65a46751d68235f93aa8e8.tar.gz opensim-SC_OLD-b8e22f02e79e84d29e65a46751d68235f93aa8e8.tar.bz2 opensim-SC_OLD-b8e22f02e79e84d29e65a46751d68235f93aa8e8.tar.xz |
Make sure Web streams are disposed after use
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/Neighbour/NeighbourServicesConnector.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Neighbour/NeighbourServicesConnector.cs b/OpenSim/Services/Connectors/Neighbour/NeighbourServicesConnector.cs index 774fe2a..96a756d 100644 --- a/OpenSim/Services/Connectors/Neighbour/NeighbourServicesConnector.cs +++ b/OpenSim/Services/Connectors/Neighbour/NeighbourServicesConnector.cs | |||
@@ -162,7 +162,7 @@ namespace OpenSim.Services.Connectors | |||
162 | finally | 162 | finally |
163 | { | 163 | { |
164 | if (os != null) | 164 | if (os != null) |
165 | os.Close(); | 165 | os.Dispose(); |
166 | } | 166 | } |
167 | 167 | ||
168 | // Let's wait for the response | 168 | // Let's wait for the response |
@@ -202,4 +202,4 @@ namespace OpenSim.Services.Connectors | |||
202 | return true; | 202 | return true; |
203 | } | 203 | } |
204 | } | 204 | } |
205 | } \ No newline at end of file | 205 | } |