Showing
2 changed files
with
10 additions
and
10 deletions
@@ -57,16 +57,16 @@ class ListNotifier implements Listenable { | @@ -57,16 +57,16 @@ class ListNotifier implements Listenable { | ||
57 | void refreshGroup(Object id) { | 57 | void refreshGroup(Object id) { |
58 | assert(_debugAssertNotDisposed()); | 58 | assert(_debugAssertNotDisposed()); |
59 | 59 | ||
60 | - /// This debounce the call to update. | ||
61 | - /// It prevent errors and duplicates builds | ||
62 | - if (_microtask == _version) { | ||
63 | - _microtask++; | ||
64 | - scheduleMicrotask(() { | ||
65 | - _version++; | ||
66 | - _microtask = _version; | 60 | + // /// This debounce the call to update. |
61 | + // /// It prevent errors and duplicates builds | ||
62 | + // if (_microtask == _version) { | ||
63 | + // _microtask++; | ||
64 | + // scheduleMicrotask(() { | ||
65 | + // _version++; | ||
66 | + // _microtask = _version; | ||
67 | _notifyIdUpdate(id); | 67 | _notifyIdUpdate(id); |
68 | - }); | ||
69 | - } | 68 | + // }); |
69 | + // } | ||
70 | } | 70 | } |
71 | 71 | ||
72 | bool _debugAssertNotDisposed() { | 72 | bool _debugAssertNotDisposed() { |
-
Please register or login to post a comment