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

BroadcastManager的startSubscribe与close方法的问题。 #789

Open
YYYQG opened this issue Jun 27, 2023 · 1 comment
Open

BroadcastManager的startSubscribe与close方法的问题。 #789

YYYQG opened this issue Jun 27, 2023 · 1 comment

Comments

@YYYQG
Copy link

YYYQG commented Jun 27, 2023

你好作者大大,我想请问一下 为什么BroadcastManager的startSubscribe与close方法都加了synchronized呀!感觉不需要吧!谢谢!

@areyouok
Copy link
Collaborator

是为了避免重入,也许应该加在更加合适的地方

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

2 participants