Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果APP最小化到后台,再进入到页面会报错 #4

Open
sam694260665 opened this issue Mar 20, 2020 · 0 comments
Open

如果APP最小化到后台,再进入到页面会报错 #4

sam694260665 opened this issue Mar 20, 2020 · 0 comments

Comments

@sam694260665
Copy link

我在Appcontainer的componentDidMount里调用的InitBaiduTTS,但是如果最小化到后台后再打开,会报错MySynthesizer类SpeechSynthesizer还未释放,请勿新建一个新类。但是RN没有整个程序从打开到关闭程序只调用一次的方法,请问如何解决?(或者说在哪里调用InitBaiduTTS比较合适)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant