mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00
Disconnect signal on deletion of CloudOutputDevice
CURA-9678
This commit is contained in:
parent
c729b87f3c
commit
39e3a18bf6
@ -411,3 +411,7 @@ class CloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
|
|||||||
|
|
||||||
root_url_prefix = "-staging" if self._account.is_staging else ""
|
root_url_prefix = "-staging" if self._account.is_staging else ""
|
||||||
return f"https://digitalfactory{root_url_prefix}.ultimaker.com/app/jobs/{self.clusterData.cluster_id}"
|
return f"https://digitalfactory{root_url_prefix}.ultimaker.com/app/jobs/{self.clusterData.cluster_id}"
|
||||||
|
|
||||||
|
def __del__(self):
|
||||||
|
CuraApplication.getInstance().getBackend().backendDone.disconnect(self._resetPrintJob)
|
||||||
|
CuraApplication.getInstance().getController().getScene().sceneChanged.disconnect(self._onSceneChanged)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user