| Index: runtime/bin/eventhandler.h
|
| diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
|
| index 8a2604303c8326e33cd6a4b83ca13db65f1a5e3a..a9b0bcd089693172d41346fe5ae0649511650880 100644
|
| --- a/runtime/bin/eventhandler.h
|
| +++ b/runtime/bin/eventhandler.h
|
| @@ -108,16 +108,15 @@ class EventHandler {
|
| delegate_.SendData(id, dart_port, data);
|
| }
|
|
|
| - void Shutdown() {
|
| - delegate_.Shutdown();
|
| - }
|
| -
|
| - static EventHandler* Start() {
|
| - EventHandler* handler = new EventHandler();
|
| - handler->delegate_.Start(handler);
|
| - return handler;
|
| - }
|
| -
|
| + /**
|
| + * Start the event-handler.
|
| + */
|
| + static void Start();
|
| +
|
| + /**
|
| + * Stop the event-handler. It's expected that there will be no further calls
|
| + * to SendData after a call to Stop.
|
| + */
|
| static void Stop();
|
|
|
| private:
|
|
|