mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue