Fix a crash on exit. The SGEnviro destructor was attempting to delete an
object that had already been deleted by the sound manager. Since SGEnviro doesn't own this object, I removed the delete from it's destructor.
This commit is contained in:
parent
1b8216e911
commit
2e05043f43
@ -187,7 +187,7 @@ SGEnviro::SGEnviro() :
|
|||||||
}
|
}
|
||||||
|
|
||||||
SGEnviro::~SGEnviro(void) {
|
SGEnviro::~SGEnviro(void) {
|
||||||
if (sampleGroup) delete sampleGroup;
|
// if (sampleGroup) delete sampleGroup;
|
||||||
|
|
||||||
// OSGFIXME
|
// OSGFIXME
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user