class_docstr: Disable automatic garbage collection and instead collect manually
  on a timer.
  
  This is done to ensure that garbage collection only happens in the GUI
  thread, as otherwise Qt can crash.
  
  Credit:  Erik Janssens
  Source:  http://pydev.blogspot.com/2014/03/should-python-garbage-collector-be.html
code: def __init__(self, interval=1.0, debug=False):
      self.debug = debug
      if debug:
          gc.set_debug(gc.DEBUG_LEAK)
  
      self.timer = QtCore.QTimer()
      self.timer.timeout.connect(self.check)
  
      self.threshold = gc.get_threshold()
      gc.disable()
      self.timer.start(interval * 1000)
  
imports: import gc
  from ..Qt import QtCore
label_desc: Use image node_id 1 to create a new GarbageCollector object from inherited base classes: object with example: obj = GarbageCollector(interval, debug)