Fix error state shutdown crash.
Fix error state shutdown crash.

TRex22/xenia,KitoHo/xenia,no1dead/xenia,sabretooth/xenia,sephiroth99/xenia,sabretooth/xenia,maxton/xenia,maxton/xenia,galek/xenia,galek/xenia,galek/xenia,sephiroth99/xenia,TRex22/xenia,KitoHo/xenia,no1dead/xenia,no1dead/xenia,no1dead/xenia,ObsidianGuardian/xenia,TRex22/xenia,KitoHo/xenia,ObsidianGuardian/xenia,ObsidianGuardian/xenia,KitoHo/xenia,galek/xenia,maxton/xenia,sephiroth99/xenia,sabretooth/xenia