aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-02 18:12:12 +0000
committerJustin Clark-Casey (justincc)2011-11-02 18:25:03 +0000
commit03993d0b14599358ac30a001cebd5b2145881c65 (patch)
treebb875b81821c0dff0bf195d530ad2f2dda96b2d0 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentCatch any exceptions exiting the top of the robust console, as we already do ... (diff)
downloadopensim-SC-03993d0b14599358ac30a001cebd5b2145881c65.zip
opensim-SC-03993d0b14599358ac30a001cebd5b2145881c65.tar.gz
opensim-SC-03993d0b14599358ac30a001cebd5b2145881c65.tar.bz2
opensim-SC-03993d0b14599358ac30a001cebd5b2145881c65.tar.xz
Fix race condition that would sometimes send or save appearance for the wrong avatar.
In AvatarFactoryModule.HandleAppearanceUpdateTimer(), we loop through appearance save and send requests and dispatch via a FireAndForget thread. If there was more than one request in the save or send queue, then this led to a subtle race condition where the foreach loop would load in the next KeyValuePair before the thread was dispatched. This gave the thread the wrong avatar ID, leaving some avatar appearance cloudy since appearance data was never sent. This change loads the fields into local references so that this doesn't happen.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
0 files changed, 0 insertions, 0 deletions