diff --git a/Source/Core/VideoCommon/FPSCounter.cpp b/Source/Core/VideoCommon/FPSCounter.cpp index 7a912c2fd7..1ce46377c7 100644 --- a/Source/Core/VideoCommon/FPSCounter.cpp +++ b/Source/Core/VideoCommon/FPSCounter.cpp @@ -18,12 +18,6 @@ FPSCounter::FPSCounter() m_render_time.Update(); } -FPSCounter::~FPSCounter() -{ - if (m_bench_file.is_open()) - m_bench_file.close(); -} - void FPSCounter::LogRenderTimeToFile(u64 val) { if (!m_bench_file.is_open()) diff --git a/Source/Core/VideoCommon/FPSCounter.h b/Source/Core/VideoCommon/FPSCounter.h index b3cb1c3b73..bb1dc7922d 100644 --- a/Source/Core/VideoCommon/FPSCounter.h +++ b/Source/Core/VideoCommon/FPSCounter.h @@ -16,9 +16,6 @@ public: // Initializes the FPS counter. FPSCounter(); - // Shutdown the FPS counter by closing the logs. - ~FPSCounter(); - // Called when a frame is rendered. Returns the value to be displayed on // screen as the FPS counter (updated every second). int Update();