scope icon indicating copy to clipboard operation
scope copied to clipboard

bugfix-[supplyAsyncWithCurrentScope can't pass current Scope]

Open CheJuJu opened this issue 1 year ago • 0 comments

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~

CheJuJu avatar Jul 25 '23 08:07 CheJuJu