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:
parent
27a120c7c3
commit
5b3c5407a1
@ -78,7 +78,8 @@ SGXmlSound::SGXmlSound()
|
||||
|
||||
SGXmlSound::~SGXmlSound()
|
||||
{
|
||||
_sample->stop();
|
||||
if (_sample)
|
||||
_sample->stop();
|
||||
|
||||
delete _condition;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user