Index: pkg/mdv/lib/src/template.dart |
diff --git a/pkg/mdv/lib/src/template.dart b/pkg/mdv/lib/src/template.dart |
index 785d8c0e3b159e08b1e002e079e29bea647a534e..d2fb47e22904b3eea55d46121edbae735155e669 100644 |
--- a/pkg/mdv/lib/src/template.dart |
+++ b/pkg/mdv/lib/src/template.dart |
@@ -74,7 +74,7 @@ class _TemplateExtension extends _ElementExtension { |
_ensureSetModelScheduled() { |
if (_scheduled) return; |
_scheduled = true; |
- runAsync(_setModel); |
+ scheduleMicrotask(_setModel); |
} |
void _setModel() { |