Mathias Frhlich:

I have some bugfixes which will avoid fg just crashing if the sound device
could not be opened.
This commit is contained in:
ehofman 2006-03-03 15:11:35 +00:00
parent 27a120c7c3
commit 5b3c5407a1

View File

@ -78,7 +78,8 @@ SGXmlSound::SGXmlSound()
SGXmlSound::~SGXmlSound()
{
_sample->stop();
if (_sample)
_sample->stop();
delete _condition;