Skip to content

Commit

Permalink
Fix stupid compile error
Browse files Browse the repository at this point in the history
I had originally made the one-liner fix somewhere else but had deemed it more appropriate to put the line where I put it. I had forgotten to make sure it still compiled.
  • Loading branch information
jedesah committed Aug 5, 2014
1 parent db029b4 commit ec0d293
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/redis/actors/RedisWorkerIO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ abstract class RedisWorkerIO(val address: InetSocketAddress) extends Actor with
}
case a: InetSocketAddress => onAddressChanged(a)
case c: ConnectionClosed => {
if(sender == tcpWorker)
if(sender == tcpWorker) {
tcpWorker ! ConfirmedClose // close the sending direction of the connection (TCP FIN)
onConnectionClosed(c)
}
else
onClosingConnectionClosed()
}
Expand Down

0 comments on commit ec0d293

Please sign in to comment.