private void OnFatalError(object sender, DispatcherUnhandledExceptionEventArgs e) { e.Handled = true; Debug.WriteLine("WTF: fix IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); Debug.WriteLine(e.Exception.StackTrace); Debug.WriteLine("WTF: fix IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); GraphContext.ClearEdges(); GraphContext.ClearVertices(); GraphContext.Instance.NotifyObservers(null); }