scope icon indicating copy to clipboard operation
scope copied to clipboard

【BUG】ScopeUtils.supplyAsyncWithCurrentScope method can't pass Scope params

Open CheJuJu opened this issue 1 year ago • 1 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~ image

CheJuJu avatar Jul 17 '23 07:07 CheJuJu

hope some updates~~

CheJuJu avatar Jul 17 '23 07:07 CheJuJu