Core/IOS/IOS: Remove global system accessor from destructor
An EmulationKernel already houses a reference to the current system
This commit is contained in:
parent
0d75d658b1
commit
0c9f9ca8b6
|
@ -349,7 +349,7 @@ EmulationKernel::EmulationKernel(Core::System& system, u64 title_id)
|
|||
|
||||
EmulationKernel::~EmulationKernel()
|
||||
{
|
||||
Core::System::GetInstance().GetCoreTiming().RemoveAllEvents(s_event_enqueue);
|
||||
m_system.GetCoreTiming().RemoveAllEvents(s_event_enqueue);
|
||||
|
||||
m_device_map.clear();
|
||||
m_socket_manager.reset();
|
||||
|
|
Loading…
Reference in New Issue