code: def _closeResources(self):
          
          self.histLutItem.sigLevelsChanged.disconnect(self.setAutoRangeOff)
          self.histLutItem.sigLevelsChanged.disconnect(self.refreshMinMax)
docs: Disconnects signals.
              Is called by self.finalize when the cti is deleted.