sw17ch/portaudio — pull request #5 by potat0 (2014-03-27 05:00:29+00:00)
Title: Fixed segmentation fault when closing streams using the blocking interface

It doesn't crash when I use the blocking interface.

We call pa_CloseStream first before freeing the callbacks.
Otherwise, we may free the callbacks and PortAudio might attempt a callback and we'll crash.