Keep the backend device open until the last reference is released
commit2b020040b41a8a8a19869263ad2816daad2e1361
authorChris Robinson <chris.kcat@gmail.com>
Sat, 18 Aug 2012 21:49:42 +0000 (18 14:49 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 18 Aug 2012 21:49:42 +0000 (18 14:49 -0700)
treea5c7c078201fd4eddb0bf14bd561b64c8c588c4b
parent3ae5fcbd7e8759b0542a46f20d17cfb5610c5218
Keep the backend device open until the last reference is released

This should generally happen with the next ALCdevice_DecRef call unless the
device is in the middle of being used in another thread, in which case it's
probably best to not remove the resources.
Alc/ALc.c