I'm getting some strange error messages every time I close my PyQt app, but not in consistent places.<br><br>Errors such as these:<br><br><b>pyqtSignal must be bound to a QObject, not 'ImageLoader'</b><br><br>(ImageLoader is a subclass of QObject, and I make sure to call the super's constructor in the __init__)<br>

<br><b>QObject::startTimer: QTimer can only be used with threads started with QThread</b><br><br>(I'm not spawning any additional QThreads)<br><br><b>File "/path/to/file.py", line 11, in eventFilter<br></b><div id=":u5">

<b>
   if event.type() == QtCore.<span class="il">QEvent</span>.Show:<br>
AttributeError: 'NoneType' object has no attribute '<span class="il">QEvent</span>'</b></div><br><br>What seems to be happening is, during exit of the event loop, classes are getting cleaned up in a very strange way, their __mro__ goes away before the class itself does, or the class becomes 'None' when there are still references to it elsewhere.<br>


<br>Any idea why this could be happening, or what I can do to further troubleshoot the issue at hand?<br><br>Thanks<br><br><br>