diff options
author | Arthur Valadares | 2009-06-11 20:50:23 +0000 |
---|---|---|
committer | Arthur Valadares | 2009-06-11 20:50:23 +0000 |
commit | d4ed7b03af5079d1ec9837de1aa8ca7becc300c9 (patch) | |
tree | 3dce71c361cdf40bfdc03bb8928aa6d15d29dff6 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |
parent | Fixes mantis #3803. Thanks jhurliman. (diff) | |
download | opensim-SC_OLD-d4ed7b03af5079d1ec9837de1aa8ca7becc300c9.zip opensim-SC_OLD-d4ed7b03af5079d1ec9837de1aa8ca7becc300c9.tar.gz opensim-SC_OLD-d4ed7b03af5079d1ec9837de1aa8ca7becc300c9.tar.bz2 opensim-SC_OLD-d4ed7b03af5079d1ec9837de1aa8ca7becc300c9.tar.xz |
* Fixed a few more async calls. Still not uncommented, some asserts still failing
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs index 694b887..13b1f5a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |||
@@ -30,6 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.IO; | 30 | using System.IO; |
31 | using System.IO.Compression; | 31 | using System.IO.Compression; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using System.Threading; | ||
33 | using System.Text; | 34 | using System.Text; |
34 | using System.Xml; | 35 | using System.Xml; |
35 | using log4net; | 36 | using log4net; |
@@ -116,6 +117,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
116 | else | 117 | else |
117 | { | 118 | { |
118 | m_userInfo.FetchInventory(); | 119 | m_userInfo.FetchInventory(); |
120 | for (int i = 0 ; i < 50 ; i++) | ||
121 | { | ||
122 | if (m_userInfo.HasReceivedInventory == true) | ||
123 | break; | ||
124 | Thread.Sleep(200); | ||
125 | } | ||
119 | } | 126 | } |
120 | } | 127 | } |
121 | 128 | ||