diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2017-08-22 20:30:08 -0300 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2017-08-22 20:30:08 -0300 |
| commit | 3125beff6adb36e7d78d413cc0dd308a5edfeb7a (patch) | |
| tree | cb9d8a6c5ee9f9c436092b204937d3be2e5d1d9c /RtAudio.cpp | |
| parent | f075fd03390c3d3e8627685d72407bd43bcb37f9 (diff) | |
Fix order of calling CoUninitialize()
Closes #80
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index 91bd221..fa365f7 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -5363,8 +5363,8 @@ RtApiDs :: RtApiDs() RtApiDs :: ~RtApiDs()
{
- if ( coInitialized_ ) CoUninitialize(); // balanced call.
if ( stream_.state != STREAM_CLOSED ) closeStream();
+ if ( coInitialized_ ) CoUninitialize(); // balanced call.
}
// The DirectSound default output is always the first device.
|
