mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 11:05:54 +08:00
Only stop the camera if the timer is actually running
CURA-4081
This commit is contained in:
parent
4564b2a843
commit
a8a475a1a7
@ -313,6 +313,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def _stopCamera(self):
|
def _stopCamera(self):
|
||||||
|
if self._camera_timer.isActive():
|
||||||
self._camera_timer.stop()
|
self._camera_timer.stop()
|
||||||
if self._image_reply:
|
if self._image_reply:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user