mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Mantis #2109
Prevent a null reference exception when reset is pressed on a script while it's being compiled.
This commit is contained in:
@@ -571,6 +571,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
|
||||
public void ResetScript()
|
||||
{
|
||||
if (m_script == null)
|
||||
return;
|
||||
bool running = Running;
|
||||
|
||||
RemoveState();
|
||||
|
||||
Reference in New Issue
Block a user