fluffy-critter / bandcrash

Bandcamp-style batch encoder and web player for independent musicians
MIT License
57 stars 0 forks source link

Refactor data ownership for stability and correctness #100

Closed fluffy-critter closed 1 year ago

fluffy-critter commented 1 year ago

Qt seems to do its own attempt at tracking reference cycles, which got confused by having the grandchild of the widget maintaining a reference to it, and was causing segfaults at garbage collection time.

Additionally, windows need a reference maintained to them or else garbage collection will delete them, apparently. You'd think Qt itself would maintain that reference. But Qt is weird.

Fixes #99