aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-27 23:58:53 +0100
committerJustin Clark-Casey (justincc)2012-07-27 23:58:53 +0100
commit7e89b99e6ad93a313338099f9033adafa26ee426 (patch)
tree9182af5e8407917eafbe0976a6a877bd221cc84f /OpenSim/Region/ScriptEngine/Shared/Api/Interface
parentmaking first run more resilient to bad input (loop until good input, rather t... (diff)
downloadopensim-SC_OLD-7e89b99e6ad93a313338099f9033adafa26ee426.zip
opensim-SC_OLD-7e89b99e6ad93a313338099f9033adafa26ee426.tar.gz
opensim-SC_OLD-7e89b99e6ad93a313338099f9033adafa26ee426.tar.bz2
opensim-SC_OLD-7e89b99e6ad93a313338099f9033adafa26ee426.tar.xz
Avoid a race condition between the scene shutdown thread and the update thread since commit c150320 (Thu Jul 26 15:27:18 2012)
c150320 started explicitly disposing of the physics scene and nulling it out on region shutdown. However, the update loop may not have yet checked Scene.ShuttingDown, particularly if avatars were not in the scene, causing failure when it tried to lookup time dilation. This commit moves the setting of m_shuttingDown above the existing 500ms pause to notify avatars that they are being kicked. This should not affect the few other places that use this flag.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
0 files changed, 0 insertions, 0 deletions