TONY: Bugfix for crash when changing scene whilst music is playing

This commit is contained in:
Paul Gilbert 2012-06-23 16:28:03 +10:00
parent 46d87ef76a
commit 69ce6e35f4

View File

@ -536,6 +536,8 @@ bool FPStream::unloadFile() {
/* Closes the file handle stream */
delete _loopStream;
delete _rewindableStream;
_loopStream = NULL;
_rewindableStream = NULL;
_file.close();
// Flag that the file is no longer in memory