| Index: samples/chat/chat_server_lib.dart
|
| diff --git a/samples/chat/chat_server_lib.dart b/samples/chat/chat_server_lib.dart
|
| index 88e332a7b103f7f001933102dda4a4e8e540c68e..c21adfb2989ccb53bac11a3954c18877ebfe2362 100644
|
| --- a/samples/chat/chat_server_lib.dart
|
| +++ b/samples/chat/chat_server_lib.dart
|
| @@ -528,8 +528,8 @@ class IsolatedServer {
|
| _messageRate = new Rate();
|
|
|
| // Start a timer for cleanup events.
|
| - _cleanupTimer = new Timer.repeating(const Duration(seconds: 10),
|
| - _topic._handleTimer);
|
| + _cleanupTimer = new Timer.periodic(const Duration(seconds: 10),
|
| + _topic._handleTimer);
|
| }
|
|
|
| // Start timer for periodic logging.
|
| @@ -576,7 +576,7 @@ class IsolatedServer {
|
| });
|
| replyTo.send(new ChatServerStatus.started(_server.port), null);
|
| _loggingTimer =
|
| - new Timer.repeating(const Duration(seconds: 1), _handleLogging);
|
| + new Timer.periodic(const Duration(seconds: 1), _handleLogging);
|
| })
|
| .catchError((e) {
|
| replyTo.send(new ChatServerStatus.error2(e.toString()), null);
|
|
|