diff options
author | UbitUmarov | 2014-09-17 16:51:07 +0100 |
---|---|---|
committer | UbitUmarov | 2014-09-17 16:51:07 +0100 |
commit | 9f07c64690840f258cd9bd2cf9f781351ee32e74 (patch) | |
tree | c964913f30962e1913e834f325a91687330d90f1 /OpenSim | |
parent | add some _response.close. RestClient still looks bad. It should be a (diff) | |
download | opensim-SC-9f07c64690840f258cd9bd2cf9f781351ee32e74.zip opensim-SC-9f07c64690840f258cd9bd2cf9f781351ee32e74.tar.gz opensim-SC-9f07c64690840f258cd9bd2cf9f781351ee32e74.tar.bz2 opensim-SC-9f07c64690840f258cd9bd2cf9f781351ee32e74.tar.xz |
another close()
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/DataSnapshot/DataSnapshotManager.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs index 0c0a7aa..78c050a 100644 --- a/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs +++ b/OpenSim/Region/DataSnapshot/DataSnapshotManager.cs | |||
@@ -391,6 +391,7 @@ namespace OpenSim.Region.DataSnapshot | |||
391 | { | 391 | { |
392 | m_log.Warn("[DATASNAPSHOT]: Ignoring unknown exception " + e.ToString()); | 392 | m_log.Warn("[DATASNAPSHOT]: Ignoring unknown exception " + e.ToString()); |
393 | } | 393 | } |
394 | |||
394 | byte[] response = new byte[1024]; | 395 | byte[] response = new byte[1024]; |
395 | // int n = 0; | 396 | // int n = 0; |
396 | try | 397 | try |
@@ -405,6 +406,9 @@ namespace OpenSim.Region.DataSnapshot | |||
405 | // This is not quite working, so... | 406 | // This is not quite working, so... |
406 | // string responseStr = Util.UTF8.GetString(response); | 407 | // string responseStr = Util.UTF8.GetString(response); |
407 | m_log.Info("[DATASNAPSHOT]: data service " + url + " notified. Secret: " + m_Secret); | 408 | m_log.Info("[DATASNAPSHOT]: data service " + url + " notified. Secret: " + m_Secret); |
409 | |||
410 | if(reply != null) | ||
411 | reply.Close(); | ||
408 | } | 412 | } |
409 | 413 | ||
410 | } | 414 | } |