Added subclass close() method
This commit is contained in:
parent
7b23ca4b8a
commit
ffb4dda6a6
2 changed files with 4 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class BaseCamera(object):
|
|||
self.close()
|
||||
|
||||
def close(self):
|
||||
"""Handles closing the StreamingCamera"""
|
||||
"""Close the BaseCamera and all attached StreamObjects"""
|
||||
# Close all StreamObjects
|
||||
for capture_list in [self.images, self.videos]:
|
||||
for stream_object in capture_list:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue