Merge "sthal: check audio extn init result in stdev init"
diff --git a/SoundTriggerSession.cpp b/SoundTriggerSession.cpp
index 62a15f6..361cec7 100644
--- a/SoundTriggerSession.cpp
+++ b/SoundTriggerSession.cpp
@@ -91,7 +91,7 @@
 
 SoundTriggerSession::~SoundTriggerSession()
 {
-    if (pal_handle_ && IsState(IDLE))
+    if (pal_handle_)
         pal_stream_close(pal_handle_);
 
     pal_handle_ = nullptr;