Descriptionclose camera when the last client returns buffers after it has called StopCapture.
It's possible that client can call StopCapture, then return buffers. Therefore, when a client returns all buffers and it's removed from controller's client list, it's needed to check whether controller has any client left. If no client is left, the device should be closed.
BUG=106369
TEST=trybots
Patch Set 1 #
|