audio.loadStream and memory management

I am using audio.loadStream and then playing it.

If I am doing this:

[code] local theaudio = audio.loadStream(“theaudio.mp3”)

audio.play(theaudio)[/code]
Should I be cleaning it up as such:

audio.dispose()

Or should I nil theaudio var or something also? [import]uid: 42417 topic_id: 25026 reply_id: 325026[/import]

Yes, you should clean it up after you are done playing. (Do not dispose it while it is playing though.)

For best results, do both: call audio.dispose() and then set your variables to nil.
[import]uid: 7563 topic_id: 25026 reply_id: 101667[/import]