File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1028,19 +1028,17 @@ private async Task SetupPanels() {
10281028 }
10291029
10301030 private async Task SetupSectionPanel ( ) {
1031- Trace . WriteLine ( $ "SetupSectionPanel: MainSummary={ SectionPanel . MainSummary ? . ModuleName ?? "NULL" } , Docs={ sessionState_ . Documents . Count } ") ;
1032-
10331031 if ( SectionPanel . MainSummary == null ) {
10341032 SectionPanel . CompilerInfo = compilerInfo_ ;
10351033 SectionPanel . Session = this ;
10361034
1037- // Clear stale module summaries from any previous session.
1035+ // Clear stale module summaries from any previous session
1036+ // before adding the new ones.
10381037 SectionPanel . ClearModuleSummaries ( ) ;
10391038
10401039 foreach ( var doc in sessionState_ . Documents ) {
10411040 if ( doc != sessionState_ . MainDocument &&
10421041 doc != sessionState_ . DiffDocument ) {
1043- // Add optional modules, usually used for profiling.
10441042 SectionPanel . AddModuleSummary ( doc . Summary ) ;
10451043 }
10461044 }
You can’t perform that action at this time.
0 commit comments