/// <summary> /// Stop listening WPF binding error /// </summary> public static void Detach() { errorListener.ErrorCatched -= OnErrorCatched; errorListener.Dispose(); errorListener = null; }