Skip to content

Commit bac9f8e

Browse files
authored
fix an npe (#17)
1 parent e9658e0 commit bac9f8e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/memory/memory.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class MemoryChart extends LineChart<MemoryTracker> {
313313
}
314314

315315
// display the process usage
316-
final String rss = '${_printMb(data.processRss, 0)} MB RSS';
316+
final String rss = '${_printMb(data.processRss ?? 0, 0)} MB RSS';
317317
processLabel.text = rss;
318318

319319
// display the dart heap usage

lib/tables.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import 'utils.dart';
1313

1414
// TODO(devoncarew): fixed position header
1515

16-
// TODO(devoncarew): virtualize
17-
1816
class Table<T> extends Object with SetStateMixin {
1917
final CoreElement element;
2018
final bool _isVirtual;

0 commit comments

Comments
 (0)