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

路由复用策略造成onDestroy失效 #15

Open
zxyGo opened this issue Jan 12, 2020 · 0 comments
Open

路由复用策略造成onDestroy失效 #15

zxyGo opened this issue Jan 12, 2020 · 0 comments
Assignees
Labels
question Further information is requested
Projects

Comments

@zxyGo
Copy link

zxyGo commented Jan 12, 2020

在使用路由复用策略时,删除快照,onDestroy并不会被触发,如果我在删除组件中订阅了事件,想在onDestroy时,取消订阅就做不到了,另外我想在onDestroy做一些清除,以防内存泄漏,也就做不到了,有什么好的方案吗?

@luohong123 luohong123 self-assigned this Feb 24, 2020
@luohong123 luohong123 added the question Further information is requested label Feb 24, 2020
@luohong123 luohong123 added this to To do in 2020-plan via automation Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
2020-plan
  
To do
Development

No branches or pull requests

2 participants