Skip to content

Commit

Permalink
OY-4784 Fix AtomicReference starting value
Browse files Browse the repository at this point in the history
  • Loading branch information
msiukola committed Apr 15, 2024
1 parent 79b83ab commit 2b8da8b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ class YtlFetchActor(
hakuOid: String,
tunniste: String
): Future[Option[Throwable]] = {
//val hasErrors = new AtomicBoolean(false)
val errors = new AtomicReference[List[Throwable]]()
val errors = new AtomicReference[List[Throwable]](List.empty)
val hasEnded = new AtomicBoolean(false)

try {
Expand Down

0 comments on commit 2b8da8b

Please sign in to comment.