mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:39:04 +08:00
Don't stop camera if it wasn't running
Otherwise you get a segfault in the .abort() function down below. Contributes to issue CURA-4376.
This commit is contained in:
parent
a9c732e624
commit
b7090feadb
@ -331,6 +331,8 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
|
||||
if self._camera_timer.isActive():
|
||||
self._camera_timer.stop()
|
||||
else: #Camera wasn't even running. Don't try to stop it or you'll get a segfault.
|
||||
return
|
||||
|
||||
if self._image_reply:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user