mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-03 10:40:41 +08:00
Camera delete now triggers the correct function
CL-541
This commit is contained in:
parent
5e3666f073
commit
ef46f51497
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user