Closed nyanpasu64 closed 2 years ago
CFamiTrackerDoc::SetupChannels()
calling SetMachine(NTSC);
should not redraw the view mid-update.
Ideally we'd rewrite with something akin to StateTransaction, holding either pointers or indexes into a SlotMap<AnyWidget>
, or (if we only have 1 of every window) relying on the main window for receiving updates.
Until then, we can make the redraw not crash.
I have no clue why this stack is so funny and includes two
CFamiTrackerDoc::GetTrack()
calls.This will more reliably reproduce on debug builds.