Mantis #2109
Prevent a null reference exception when reset is pressed on a script while it's being compiled.0.6.0-stable
parent
e044d83679
commit
0fc55818ca
|
@ -571,6 +571,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
|||
|
||||
public void ResetScript()
|
||||
{
|
||||
if (m_script == null)
|
||||
return;
|
||||
bool running = Running;
|
||||
|
||||
RemoveState();
|
||||
|
|
Loading…
Reference in New Issue