// If this is the last view on a buffer, remove any results for this buffer from the // error list. private void TextBufferViewTracker_LastViewRemoved(object sender, LastViewRemovedEventArgs e) { this.backgroundAnalysisService.Value.CloseResultsAsync(e.Path) .FileAndForget(FileAndForgetEventName.CloseSarifLogsFailure); }
// If this is the last view on a buffer, remove any results for this buffer from the // error list. private void TextBufferViewTracker_LastViewRemoved(object sender, LastViewRemovedEventArgs e) { this.sarifViewerInterop.CloseSarifLogAsync(new string[] { e.Path }) .FileAndForget(FileAndForgetEventName.CloseSarifLogsFailure); }