Skip to content

Commit aa164fa

Browse files
AsCressmarcnause
authored andcommitted
fix: non-zero loop duration for Windows
1 parent 46086c6 commit aa164fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/providers/oscilloscope_state_provider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class OscilloscopeStateProvider extends ChangeNotifier {
164164

165165
Future<void> monitor() async {
166166
_timer = Timer.periodic(
167-
Duration.zero,
167+
const Duration(milliseconds: 10),
168168
(timer) async {
169169
if (!_monitor) {
170170
timer.cancel();

0 commit comments

Comments
 (0)