mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Only stop the camera if the timer is actually running
CURA-4081
This commit is contained in:
parent
4564b2a843
commit
a8a475a1a7
1 changed files with 10 additions and 9 deletions
|
@ -313,6 +313,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
return True
|
||||
|
||||
def _stopCamera(self):
|
||||
if self._camera_timer.isActive():
|
||||
self._camera_timer.stop()
|
||||
if self._image_reply:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue