diff options
author | Melanie | 2012-02-19 20:36:26 +0100 |
---|---|---|
committer | Melanie | 2012-02-19 20:36:26 +0100 |
commit | 77575ec51be53ff80179555f813ca53a20959b41 (patch) | |
tree | bf3399b6377f7c5970d089fded368f409d044b39 /OpenSim/Region/CoreModules/Framework | |
parent | Uncomment serialization (diff) | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC-77575ec51be53ff80179555f813ca53a20959b41.zip opensim-SC-77575ec51be53ff80179555f813ca53a20959b41.tar.gz opensim-SC-77575ec51be53ff80179555f813ca53a20959b41.tar.bz2 opensim-SC-77575ec51be53ff80179555f813ca53a20959b41.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 557555d..cb653ed 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1217,13 +1217,16 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1217 | 1217 | ||
1218 | if (neighbour.RegionHandle != sp.Scene.RegionInfo.RegionHandle) | 1218 | if (neighbour.RegionHandle != sp.Scene.RegionInfo.RegionHandle) |
1219 | { | 1219 | { |
1220 | InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync; | ||
1221 | try | 1220 | try |
1222 | { | 1221 | { |
1223 | //neighbour.ExternalEndPoint may return null, which will be caught | 1222 | // Let's put this back at sync, so that it doesn't clog |
1224 | d.BeginInvoke(sp, cagents[count], neighbour, neighbour.ExternalEndPoint, newAgent, | 1223 | // the network, especially for regions in the same physical server. |
1225 | InformClientOfNeighbourCompleted, | 1224 | // We're really not in a hurry here. |
1226 | d); | 1225 | InformClientOfNeighbourAsync(sp, cagents[count], neighbour, neighbour.ExternalEndPoint, newAgent); |
1226 | //InformClientOfNeighbourDelegate d = InformClientOfNeighbourAsync; | ||
1227 | //d.BeginInvoke(sp, cagents[count], neighbour, neighbour.ExternalEndPoint, newAgent, | ||
1228 | // InformClientOfNeighbourCompleted, | ||
1229 | // d); | ||
1227 | } | 1230 | } |
1228 | 1231 | ||
1229 | catch (ArgumentOutOfRangeException) | 1232 | catch (ArgumentOutOfRangeException) |