Skip to content

notify if Mixxx is writing metadata to track file after closing MixxxMainWindow #16191

@ronso0

Description

@ronso0

Just noticed that writing metadata can take ages even after the main window has closed.
I suspect this can cause trouble with the database or config when it's restarted while the previous instance is still running?

Though that's a tricky one. There's probably no way to show a popup because IIUC closing MixxxMainWindow triggers CoreServices::finalize() which in turn deletes Library (which triggers the metadata writing?)

So key for fixing this seems telling GlobalTrackCache (?) to evict and save all tracks before the main window accepts the close event. (much like the playing deck warning I guess)
This is currently done in GlobalTrackCache::deactivate()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions