Thank you so much.
This weekend I'll try to work with the code you point out to me.
But, now you mention it, I'd bet what you say about the references could be the problem. Anyway, all this gives me a clue to look into.
Very appreciate and fantastic library for map.
Regards!
On Tue, Nov 9, 2021 at 5:23 PM Román <rgmf riseup net> wrote:
Hi again,
the code is in GitHub. Here is exactly where map is created: https://github.com/rgmf/PyOpenTracks/blob/d0d3ef5d71d9b2248dec7896e6fe7b8ef2c07e8d/pyopentracks/views/layouts/segments_list_layout.py#L197
Thank you very much for your time ;)
Well, I was hoping for some self-contained simple-to-reproduce example. I tried grabbing your class and added some basic window creation stuff here
but I don't see the error you are mentioning. If you are able to reproduce the issue by modifying the code above, please post it and we can investigate further.
Apart from this, I would suspect some reference cycle (object A holds reference to object B and object B holds reference to object A - possibly with several objects in between) and that during the app termination this reference cannot be broken and some objects cannot be deinitialized properly.
Best regards,
Jiri