public void OnStateChange(ScriptState scriptState) { GlobalLog.Print("AutoWebProxyScriptWrapper.ScriptHost#" + ValidationHelper.HashString(this) + "::OnStateChange() state:" + ValidationHelper.ToString(scriptState)); if (scriptState == ScriptState.Closed) { helper = null; } }