[PyQt] [Eric] Eric4 issue with splitted views

Phil Thompson phil at riverbankcomputing.com
Thu Mar 27 16:13:40 GMT 2014


On 27-03-2014 3:54 pm, Rohan Garg wrote:
> Hi
>>
>> Rohan, I bet, adding a similar sequence to apport early in the 
>> execution
>> path will fix it as well.
>
> Whipped up a quick patch for apport-kde and indeed, setting
> sip.setdestroyonexit to False makes the crash go away ( however seems
> to cause a weird side-effect in apport-core ) .
>
> @Phil do you have a better suggestion to fix this crash?

Sorry - not been following the discussion.

The other solution is to explicitly del the various objects in the 
right order after the event loop terminates - but I don't think that's a 
"better" solution.

Maybe it is time to make this default behaviour for PyQt4 (as it is for 
PyQt5)?

Phil


More information about the PyQt mailing list