public void OnFrameDestroyed(IVsWindowFrame frame)
 {
     if (_frame.Equals(frame))
     {
         _threadingService.ExecuteSynchronously(_editorModel.CloseCurrentEditorAsync);
     }
 }