Issue #117: Fix AVAudioSession deactivating when there is running I/O. Let the event loop run once before delivering the state change notifications so that the stream can properly close, if needed.
Issue #117: Fix AVAudioSession deactivating when there is running I/O.
Let the event loop run once before delivering the state change notifications so that
the stream can properly close, if needed.

alecgorge/FreeStreamer,nKey/FreeStreamer,ren6/FreeStreamer,christophercotton/FreeStreamer,nKey/FreeStreamer,ren6/FreeStreamer,alecgorge/FreeStreamer,zdw19840929/FreeStreamer,zdw19840929/FreeStreamer,ren6/FreeStreamer,alecgorge/FreeStreamer,zdw19840929/FreeStreamer,mjasa/FreeStreamer,christophercotton/FreeStreamer,christophercotton/FreeStreamer,mjasa/FreeStreamer,nKey/FreeStreamer,mjasa/FreeStreamer