From 8a178cfb8eecc791d20acdb192bae92c7f977aba Mon Sep 17 00:00:00 2001 From: jadebook <78403446@qq.com> Date: Tue, 20 Nov 2018 21:46:21 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20RN=E7=9A=84Audio=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=9C=A8WillUnmount=E7=9A=84=E6=97=B6=E5=80=99=E8=A6=81Unloads?= =?UTF-8?q?=20the=20media=20from=20memory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-components-rn/src/components/Audio/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/taro-components-rn/src/components/Audio/index.tsx b/packages/taro-components-rn/src/components/Audio/index.tsx index 3439a73ee68c..66e59da5b376 100644 --- a/packages/taro-components-rn/src/components/Audio/index.tsx +++ b/packages/taro-components-rn/src/components/Audio/index.tsx @@ -212,6 +212,7 @@ class _Audio extends React.Component { 'connectionChange', this._onConnectionChange.bind(this) ) + soundObject.unloadAsync() } render() {