public void Update(IInvalidator invalidator, LiveSplitState state, float width, float height, LayoutMode mode) { if (!Settings.AutoSplittingEnabled) { return; } try { GetHooksIfNeeded(state); // After this call we assume we have a valid AutoSplitter if no exception was thrown var status = AutoSplitter.Update(state); if (!StatusWindow.IsDisposed) { StatusWindow.SetStatus(status.Type, status.Message); } } catch (Exception e) { ClearAutoSplitter(); if (!StatusWindow.IsDisposed) { StatusWindow.SetErrorStatus(e.Message); } } }