mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-03 11:15:18 +08:00
Ensured that multiple requests from the same camera are no longer possible
CL-541
This commit is contained in:
parent
37461a7934
commit
95b1e8f68c
@ -45,6 +45,8 @@ class NetworkCamera(QObject):
|
||||
|
||||
@pyqtSlot()
|
||||
def start(self):
|
||||
# Ensure that previous requests (if any) are stopped.
|
||||
self.stop()
|
||||
if self._target is None:
|
||||
Logger.log("w", "Unable to start camera stream without target!")
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user