Fixed duplicated entries and unnecessary file locking in ProfViewer (bug 4510, r=dvander)
This commit is contained in:
parent
78e51e6b11
commit
fbbf193345
@ -47,13 +47,9 @@ namespace profviewer
|
||||
ProfileItem atom;
|
||||
ListViewItem item;
|
||||
|
||||
if (m_Report == null)
|
||||
{
|
||||
report_list.Items.Clear();
|
||||
report_info_duration.Text = "";
|
||||
report_info_starttime.Text = "";
|
||||
return;
|
||||
}
|
||||
report_list.Items.Clear();
|
||||
report_info_duration.Text = "";
|
||||
report_info_starttime.Text = "";
|
||||
|
||||
report_info_duration.Text = m_Report.Duration.ToString() + " seconds";
|
||||
report_info_starttime.Text = m_Report.StartTime.ToString();
|
||||
|
@ -133,6 +133,7 @@ namespace profviewer
|
||||
}
|
||||
}
|
||||
}
|
||||
xml.Close();
|
||||
}
|
||||
|
||||
public double Duration
|
||||
|
Loading…
Reference in New Issue
Block a user