Skip to content

Conversation

@CheJuJu
Copy link

@CheJuJu CheJuJu commented Jul 25, 2023

When I use this method(ScopeUtils.supplyAsyncWithCurrentScope ) to pass Scope to a new thread, i find it doesn't work.
This method does not pass the Scope of the current thread correctly. The main reason is that Scope.getCurrentScope() is written in a lamda expression, so it is executed in a new thread.
After simple rewriting, the scope can be passed correctly~

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

Successfully merging this pull request may close these issues.

1 participant