Endstop now stops listening upon destruction

This commit is contained in:
Jaime van Kessel 2015-08-19 14:35:35 +02:00
parent 83426878d2
commit 7fda5e9a39
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@ Column
property variant printer_connection: UM.USBPrinterManager.connectedPrinterList.getItem(0).printer
Component.onCompleted: printer_connection.startPollEndstop()
Component.onDestruction: printer_connection.stopPollEndstop()
Label
{