mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
On all undo/redo operations, consistently lock the undo object for everything, in order to avoid any deadlock issues.
This commit is contained in:
@@ -3775,7 +3775,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void Redo()
|
||||
{
|
||||
lock (m_redo)
|
||||
lock (m_undo)
|
||||
{
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE OBJECT PART]: Handling redo request for {0} {1}, stack size {2}",
|
||||
@@ -3811,10 +3811,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
lock (m_undo)
|
||||
{
|
||||
m_undo.Clear();
|
||||
}
|
||||
|
||||
lock (m_redo)
|
||||
{
|
||||
m_redo.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user