Close device at the end of the streaming example.

Might leak a little memory on panic cases, but this is just an example.
This commit is contained in:
Amédée d'Aboville
2020-01-30 10:38:59 -05:00
parent 2592d76d85
commit 9341889a3d
+2 -1
View File
@@ -117,5 +117,6 @@ fn main() {
}
// fflush(stdout);
}
}
k4a_device_close(device);
}
}