call AudioBackend::drop_device() when dropping a backend.

It is not clear that ::drop_device() is part of the same semantic operation as ::stop(), so
we call them separatey
This commit is contained in:
Paul Davis 2014-03-24 13:42:05 -04:00
parent 4122204eaf
commit 55ce05c486

View File

@ -564,6 +564,7 @@ AudioEngine::drop_backend ()
{
if (_backend) {
_backend->stop ();
_backend->drop_device();
_backend.reset ();
}
}