Exit process on request (#35)

This commit is contained in:
Albin Ekblom 2017-10-26 09:49:32 +02:00 committed by Sindre Sorhus
parent 059666edbe
commit 879182c1c5
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ var recorder: Recorder!
func quit(_: Int32) {
recorder.stop()
// See https://github.com/wulkano/aperture/pull/35 for more info
exit(0)
}
func record() throws {