Browse files

IOS: Do not manually close devices in destructor

This used to be necessary for properly cleaning up the FS state because
the old FS implementation used static state and only performed cleanup
in the close function, not in the destructor.

Now that the static state is gone, we do not need to close devices
manually anymore.
  • Loading branch information...
leoetlino committed Apr 8, 2018
1 parent b2de380 commit 95aae11164b37b1bd1c5a23ce21504c1bb61eb4a
Showing with 0 additions and 8 deletions.
  1. +0 −8 Source/Core/Core/IOS/IOS.cpp
@@ -188,14 +188,6 @@ Kernel::Kernel()
// Close all devices that were opened
for (auto& device : m_fdmap)
if (!device)
std::lock_guard<std::mutex> lock(m_device_map_mutex);

0 comments on commit 95aae11

Please sign in to comment.