| Index: runtime/bin/eventhandler_macos.h
|
| diff --git a/runtime/bin/eventhandler_macos.h b/runtime/bin/eventhandler_macos.h
|
| index 0c1c86d00697905efcf09e0d8b5cfce04fd2cc37..137f03773d9f06578962b3fb59ac5102fdead937 100644
|
| --- a/runtime/bin/eventhandler_macos.h
|
| +++ b/runtime/bin/eventhandler_macos.h
|
| @@ -106,7 +106,8 @@ class EventHandlerImplementation {
|
| // descriptor. Creates a new one if one is not found.
|
| SocketData* GetSocketData(intptr_t fd);
|
| void SendData(intptr_t id, Dart_Port dart_port, intptr_t data);
|
| - void StartEventHandler();
|
| + void Start();
|
| + void Shutdown();
|
|
|
| private:
|
| intptr_t GetTimeout();
|
| @@ -124,6 +125,7 @@ class EventHandlerImplementation {
|
| HashMap socket_map_;
|
| int64_t timeout_; // Time for next timeout.
|
| Dart_Port timeout_port_;
|
| + bool shutdown_;
|
| int interrupt_fds_[2];
|
| int kqueue_fd_;
|
| };
|
|
|