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

如何保活主进程 #25

Open
androiddan opened this issue Feb 22, 2024 · 0 comments
Open

如何保活主进程 #25

androiddan opened this issue Feb 22, 2024 · 0 comments

Comments

@androiddan
Copy link

我希望业务是在主进程完成的,如何保活主进程。
目前我的做法是在application的oncreate内直接启动主进程的服务。这样force-stop后子进程启动时,同时也会把主进程拉起来。但是我单独kill主进程,就会有问题!

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