From 61f7e7716c6743b16051d8c3ea4cea3b27d0197b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 14 Apr 2019 02:16:42 -0700 Subject: Remove the backend factory deinit method It was never actually called anywhere, and there's no safe place where it can be called. It's probably better to let the individual backends worry about cleaning themselves up anyway. --- Alc/backends/winmm.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Alc/backends/winmm.cpp') diff --git a/Alc/backends/winmm.cpp b/Alc/backends/winmm.cpp index 94cca828..aa8db972 100644 --- a/Alc/backends/winmm.cpp +++ b/Alc/backends/winmm.cpp @@ -602,12 +602,6 @@ ALCuint WinMMCapture::availableSamples() bool WinMMBackendFactory::init() { return true; } -void WinMMBackendFactory::deinit() -{ - PlaybackDevices.clear(); - CaptureDevices.clear(); -} - bool WinMMBackendFactory::querySupport(BackendType type) { return type == BackendType::Playback || type == BackendType::Capture; } -- cgit v1.2.3