Because I was not careful enough, I’ve already run a few times in some destruction order issues. Typically :
- an AudioThumbnailCache getting deleted before an AudioThumbnail that is using it.
- the DirectoryContentsList used by FileListComponent
The bad thing is that sometime you won’t notice the bug before quite some time…
I guess they could be ReferenceCounted (?), but otherwise is there any other smart way that I could (should) use for now to avoid that to happen again (except by being more careful when coding : ) ?