Potential fix for #723
This commit is contained in:
parent
65a69537b7
commit
f853c05031
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ trait NettyRemoteClientModule extends RemoteClientModule { self: ListenerManagem
|
||||||
|
|
||||||
private[akka] def withClientFor[T](
|
private[akka] def withClientFor[T](
|
||||||
address: InetSocketAddress, loader: Option[ClassLoader])(fun: RemoteClient => T): T = {
|
address: InetSocketAddress, loader: Option[ClassLoader])(fun: RemoteClient => T): T = {
|
||||||
|
loader.foreach(MessageSerializer.setClassLoader(_))
|
||||||
val key = Address(address)
|
val key = Address(address)
|
||||||
lock.readLock.lock
|
lock.readLock.lock
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue