Closed ferdiamg closed 1 year ago
As I mentioned in https://github.com/lhz516/react-h5-audio-player/issues/169 - if we only remove this line, the audio would continue playing even if the component is destroyed. So we need some alternative solution.
never mind, I just tested it and found that the audio won't stop when the component is destroyed.
Should fix this issue: https://github.com/lhz516/react-h5-audio-player/issues/169#issuecomment-1255343175