]> git.mxchange.org Git - flightgear.git/commitdiff
Avoid AL warning messages when using "--show-sound-devices".
authorThorstenB <brehmt@gmail.com>
Fri, 21 Sep 2012 11:26:33 +0000 (13:26 +0200)
committerThorstenB <brehmt@gmail.com>
Fri, 21 Sep 2012 13:33:13 +0000 (15:33 +0200)
src/Main/options.cxx

index 98614e10f40135b2b48d4e79812331ef8163563d..844c8ea68caee9ffe4cae9f7f2fe18e3b0f125f3 100644 (file)
@@ -1836,6 +1836,7 @@ void Options::processArgResult(int result)
       cout << i << ".  \"" << devices[i] << "\"" << endl;
     }
     devices.clear();
+    smgr.stop();
     exit(0);
   } else if (result == FG_OPTIONS_EXIT) {
     exit(0);