Skip to content

Commit

Permalink
fix: throw cme when player log out
Browse files Browse the repository at this point in the history
  • Loading branch information
disymayufei committed Apr 13, 2024
1 parent feaea8d commit fc0c5dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import java.io.File
import java.io.OutputStream
import java.util.*
import java.util.concurrent.CompletableFuture
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.Executor
import java.util.zip.ZipEntry
import java.util.zip.ZipFile
Expand All @@ -21,7 +22,7 @@ class SizedZipReplayFile(
out: File,
cache: File = File(out.parentFile, out.name + ".cache")
): ZipReplayFile(ReplayStudio(), input, out, cache) {
private val entries = HashMap<String, MutableLong>()
private val entries = ConcurrentHashMap<String, MutableLong>()

override fun write(entry: String): OutputStream {
val mutable = MutableLong()
Expand Down

0 comments on commit fc0c5dc

Please sign in to comment.