diff options
author | Jakob Odersky <jodersky@gmail.com> | 2013-06-19 17:52:03 +0200 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2013-06-19 17:52:03 +0200 |
commit | 6b00e5a097fe8edfacc08e575487a6ed360b2889 (patch) | |
tree | 50a0a1d7ee7455e077a1c0564523ae4fda450e55 /src/main | |
parent | 36f51c969f2a0bbcda6bb740d8c1278e614adc2e (diff) | |
download | akka-serial-6b00e5a097fe8edfacc08e575487a6ed360b2889.tar.gz akka-serial-6b00e5a097fe8edfacc08e575487a6ed360b2889.tar.bz2 akka-serial-6b00e5a097fe8edfacc08e575487a6ed360b2889.zip |
fix crash issue on close, due to closing the port twice
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/scala/com/github/jodersky/flow/SerialOperator.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/scala/com/github/jodersky/flow/SerialOperator.scala b/src/main/scala/com/github/jodersky/flow/SerialOperator.scala index aa320e1..51cef39 100644 --- a/src/main/scala/com/github/jodersky/flow/SerialOperator.scala +++ b/src/main/scala/com/github/jodersky/flow/SerialOperator.scala @@ -42,7 +42,6 @@ class SerialOperator(serial: LowSerial, handler: ActorRef) extends Actor { } case Close => { - serial.close() sender ! Closed context.stop(self) } |