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/jack.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Alc/backends/jack.cpp') diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp index 9fc5ac4a..77d5fea0 100644 --- a/Alc/backends/jack.cpp +++ b/Alc/backends/jack.cpp @@ -532,15 +532,6 @@ bool JackBackendFactory::init() return true; } -void JackBackendFactory::deinit() -{ -#ifdef HAVE_DYNLOAD - if(jack_handle) - CloseLib(jack_handle); - jack_handle = nullptr; -#endif -} - bool JackBackendFactory::querySupport(BackendType type) { return (type == BackendType::Playback); } -- cgit v1.2.3