From: ThorstenB Date: Fri, 21 Sep 2012 11:26:33 +0000 (+0200) Subject: Avoid AL warning messages when using "--show-sound-devices". X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05e91722207e9ec2c5715140a951229769cefd62;p=flightgear.git Avoid AL warning messages when using "--show-sound-devices". --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 98614e10f..844c8ea68 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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);