openframeworks/openFrameworks — pull request #3172 by wronex (2014-08-25 11:47:50+00:00)
Title: Close file descriptors and fix OpenAL issue

unloadSound() did not previously close file descriptors which would eventually lead to a crash when too many file descriptors where open (about 1000 for Raspberry Pi).

OpenAL sources must be deleted before buffers otherwise it will result in **Illegal Operation**.