mirror of
https://github.com/storytold/k4a-sys-temp.git
synced 2026-10-09 00:09:45 +00:00
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:
@@ -117,5 +117,6 @@ fn main() {
|
|||||||
}
|
}
|
||||||
// fflush(stdout);
|
// fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
k4a_device_close(device);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user