delete unnecessary code (#24168)

This commit is contained in:
WangYifu 2017-12-19 18:44:38 +08:00 committed by Konrad `ktoso` Malawski
parent 9d734af11d
commit 7c62d52151
2 changed files with 1 additions and 2 deletions

View file

@ -203,7 +203,7 @@ private final case class SavedIslandData(islandGlobalOffset: Int, lastVisitedOff
@InternalApi private[akka] def exitIsland(): Unit = {
val parentIsland = islandStateStack.remove(islandStateStack.size() - 1)
val previousSegmentLength = completeSegment()
completeSegment()
// We start a new segment
currentSegmentGlobalOffset = currentGlobalOffset