Fix removal of device property change listeners.

This may fix some occasional memory corruption isses we were seeing in the loopback test.
I think the listeners may have gotten called after the stream was freed.
This commit is contained in:
philburk 2011-08-18 08:44:03 +00:00
commit fa8a45c845

View file

@ -2546,7 +2546,7 @@ static PaError CloseStream( PaStream* s )
if( stream->inputUnit )
{
Boolean isInput = FALSE;
Boolean isInput = TRUE;
CleanupDevicePropertyListeners( stream, stream->inputDevice, isInput );
}