Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Commit

Permalink
avoid loading the AsyncExecutor class when loading the instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantopo committed Jun 19, 2019
1 parent c002293 commit 53e4ca1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class SlickInstrumentation extends InstrumentationBuilder {
object AsyncExecutorApplyInterceptor {

@RuntimeType
def apply(@SuperCall zuper: Callable[AsyncExecutor]): AsyncExecutor = {
new SlickInstrumentation.ContextAwareAsyncExecutor(zuper.call())
def apply(@SuperCall zuper: Callable[Any]): Any = {
new SlickInstrumentation.ContextAwareAsyncExecutor(zuper.call().asInstanceOf[AsyncExecutor])
}

}
Expand Down

0 comments on commit 53e4ca1

Please sign in to comment.