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

接入Unity时卡住 #2

Open
THTBa opened this issue Feb 11, 2022 · 2 comments
Open

接入Unity时卡住 #2

THTBa opened this issue Feb 11, 2022 · 2 comments

Comments

@THTBa
Copy link

THTBa commented Feb 11, 2022

bootstrap.BindAsync在接入Unity后执行这句时主线程会卡住,exe就不会,看起来是在DotNetty.Common的SingleThreadEventExecutor中有一个PollTask,里面的emptyEvent Wait时卡住了,大佬有没有头绪呢

@l42111996
Copy link
Owner

我那时候不是在主线程去操作的 ,是new了一个线程去做的这个事情,可以试试

@rekcah1986
Copy link

bootstrap.BindAsync在接入Unity后执行这句时主线程会卡住,exe就不会,看起来是在DotNetty.Common的SingleThreadEventExecutor中有一个PollTask,里面的emptyEvent Wait时卡住了,大佬有没有头绪呢

遇到了同样的问题,请问你接入成功了吗?

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

3 participants