Yeah, it prevents the QPixmap objects from being garbage collected in case they are removed from a non GUI thread. It might causes crashes if their destructors run on a non-GUI thread. Do you suspect the deadlock being there? Its a pretty simple class but you can try changing the Lock to an RLock.
|