Releasing the audio stream #74
Answered
by
taste-kitchen
taste-kitchen
asked this question in
Q&A
-
This is probably a daft question but currently I am using the useAudioRecorder hook in a conditionally rendered component. But I am noticing the stream doesn't get released until I refresh the entire tab. Can anyone help me out as to how I can clean up efficiently in useEffect? |
Beta Was this translation helpful? Give feedback.
Answered by
taste-kitchen
Aug 1, 2023
Replies: 1 comment 3 replies
-
What version of the package are you using? This was something that I had fixed in the very initial stages of this package's development |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I found the error with my implementation (I wasn't cleaning up the component properly).