diff options
Merge commit '116fbe8258e336be3f6ac1e11119214629799faa' into bigmerge
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 5a50714..ab46491 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -96,7 +96,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
96 | private bool m_startedFromSavedState; | 96 | private bool m_startedFromSavedState; |
97 | private UUID m_CurrentStateHash; | 97 | private UUID m_CurrentStateHash; |
98 | private UUID m_RegionID; | 98 | private UUID m_RegionID; |
99 | private bool m_Suspended = false; | ||
100 | 99 | ||
101 | private Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> | 100 | private Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> |
102 | m_LineMap; | 101 | m_LineMap; |
@@ -140,6 +139,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
140 | set { m_RunEvents = value; } | 139 | set { m_RunEvents = value; } |
141 | } | 140 | } |
142 | 141 | ||
142 | public bool Suspended { get; set; } | ||
143 | |||
143 | public bool ShuttingDown | 144 | public bool ShuttingDown |
144 | { | 145 | { |
145 | get { return m_ShuttingDown; } | 146 | get { return m_ShuttingDown; } |
@@ -651,7 +652,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
651 | 652 | ||
652 | lock (m_EventQueue) | 653 | lock (m_EventQueue) |
653 | { | 654 | { |
654 | if (m_Suspended) | 655 | if (Suspended) |
655 | return 0; | 656 | return 0; |
656 | 657 | ||
657 | lock (m_Script) | 658 | lock (m_Script) |
@@ -1030,12 +1031,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
1030 | 1031 | ||
1031 | public void Suspend() | 1032 | public void Suspend() |
1032 | { | 1033 | { |
1033 | m_Suspended = true; | 1034 | Suspended = true; |
1034 | } | 1035 | } |
1035 | 1036 | ||
1036 | public void Resume() | 1037 | public void Resume() |
1037 | { | 1038 | { |
1038 | m_Suspended = false; | 1039 | Suspended = false; |
1039 | } | 1040 | } |
1040 | } | 1041 | } |
1041 | } | 1042 | } |