Permalink
Browse files

Merge pull request #6614 from leoetlino/auto-close

IOS: Do not manually close devices in destructor
  • Loading branch information...
leoetlino committed May 5, 2018
2 parents d848c7e + 95aae11 commit 983d500d143711520e19e334048d0e30489b0c4a
Showing with 0 additions and 8 deletions.
  1. +0 −8 Source/Core/Core/IOS/IOS.cpp
@@ -188,14 +188,6 @@ Kernel::Kernel()
Kernel::~Kernel()
{
// Close all devices that were opened
for (auto& device : m_fdmap)
{
if (!device)
continue;
device->Close(0);
}
{
std::lock_guard<std::mutex> lock(m_device_map_mutex);
m_device_map.clear();

0 comments on commit 983d500

Please sign in to comment.