Skip to content

Commit

Permalink
Merge pull request akka#24170 from akka/wip-aeron-1.7.0-patriknw
Browse files Browse the repository at this point in the history
Aeron 1.7.0
  • Loading branch information
patriknw authored Dec 19, 2017
2 parents 0a77e79 + 905e616 commit 483ddf4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import scala.concurrent.{ Await, Future, Promise }
import scala.concurrent.duration._
import scala.util.Failure
import scala.util.Success
import scala.util.Try
import scala.util.control.NoStackTrace
import scala.util.control.NonFatal

Expand Down Expand Up @@ -59,7 +60,7 @@ import io.aeron.exceptions.DriverTimeoutException
import org.agrona.{ DirectBuffer, ErrorHandler, IoUtil }
import org.agrona.concurrent.BackoffIdleStrategy
import akka.remote.artery.Decoder.InboundCompressionAccess
import io.aeron.driver.status.ChannelEndpointStatus
import io.aeron.status.ChannelEndpointStatus
import org.agrona.collections.IntObjConsumer
import org.agrona.concurrent.status.CountersReader.MetaData

Expand Down Expand Up @@ -880,7 +881,7 @@ private[remote] class ArteryTransport(_system: ExtendedActorSystem, _provider: R
if (hasBeenShutdown.compareAndSet(false, true)) {
log.debug("Shutting down [{}]", localAddress)
if (system.settings.JvmShutdownHooks)
Runtime.getRuntime.removeShutdownHook(shutdownHook)
Try(Runtime.getRuntime.removeShutdownHook(shutdownHook)) // may throw if shutdown already in progress
val allAssociations = associationRegistry.allAssociations
val flushing: Future[Done] =
if (allAssociations.isEmpty) Future.successful(Done)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import io.aeron.CncFileDescriptor;
import io.aeron.CommonContext;
import io.aeron.driver.status.ChannelEndpointStatus;
import io.aeron.status.ChannelEndpointStatus;
import org.agrona.DirectBuffer;
import org.agrona.IoUtil;
import org.agrona.concurrent.status.CountersReader;
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object Dependencies {
val sslConfigVersion = "0.2.2"
val slf4jVersion = "1.7.25"
val scalaXmlVersion = "1.0.6"
val aeronVersion = "1.3.0"
val aeronVersion = "1.7.0"

val Versions = Seq(
crossScalaVersions := Seq("2.11.12", "2.12.4"),
Expand Down

0 comments on commit 483ddf4

Please sign in to comment.