Only stop the camera if the timer is actually running

CURA-4081
This commit is contained in:
Jaime van Kessel 2017-07-24 17:18:04 +02:00
parent 4564b2a843
commit a8a475a1a7

View file

@ -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: