Camera delete now triggers the correct function

CL-541
This commit is contained in:
Jaime van Kessel 2018-01-03 13:44:38 +01:00
parent 5e3666f073
commit ef46f51497

View file

@ -89,7 +89,7 @@ class NetworkCamera(QObject):
## Ensure that close gets called when object is destroyed ## Ensure that close gets called when object is destroyed
def __del__(self): def __del__(self):
self.close() self.stop()
def _onStreamDownloadProgress(self, bytes_received, bytes_total): def _onStreamDownloadProgress(self, bytes_received, bytes_total):
# An MJPG stream is (for our purpose) a stream of concatenated JPG images. # An MJPG stream is (for our purpose) a stream of concatenated JPG images.