Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added shutdown

  • Loading branch information...
commit ee57bf1f19681cc5e11ee03a970cc5b7df5d7ce2 1 parent 31e0a01
@lvivski authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/start.dart
View
5 lib/start.dart
@@ -23,4 +23,9 @@ class Start {
_serverPort.send(message, _statusPort.toSendPort());
});
}
+
+ void shutdown() {
+ _serverPort.send(new Message.stop(), _statusPort.toSendPort());
+ _statusPort.close();
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.