[PyQt] Deadlock in QPyQmlObjectProxy::disconnectNotify

Arjen Hiemstra a.hiemstra at ultimaker.com
Mon Mar 14 14:49:50 GMT 2016


On Saturday, 12 March 2016 23:01:04 CET Phil Thompson wrote:
> > 
> >> This seems to be a timing issue rather than a logic issue. What I will
> >> probably do is just to remove the disconnectNotify() implementation on
> >> the assumption that, if the signal has been disconnected, then it's
> >> never going to be emitted. In any event I think the only time the signal
> >> will be disconnected is when the internal Qml sender is being destroyed.> 
> > Is this something I could patch locally to help test it? Just remove
> > the implementation of disconnectNotify in qpyqmlobject.cpp ?
> 
> Yes - and from the .h file.
> 
> Or use the snapshot.

Thanks Phil. Removing disconnectNotify seems to do the trick and fix the 
deadlock.

- Arjen

> 
> Phil




More information about the PyQt mailing list