Merge pull request #11893 from JosJuice/dual-core-exit-assert Core: Declare emu thread as CPU thread while shutting down