Skip to content

Commit

Permalink
Merge pull request #112 from embeddedt/fix-remap-deadlock
Browse files Browse the repository at this point in the history
Fix RemapJarTaskImpl waiting indefinitely for TR to finish
  • Loading branch information
wagyourtail authored Nov 16, 2024
2 parents 30553e9 + 8430667 commit d400c2c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ abstract class RemapJarTaskImpl @Inject constructor(provider: MinecraftConfig):
target.deleteIfExists()
throw e
}
remapper.finish()
target.openZipFileSystem(mapOf("mutable" to true)).use {
betterMixinExtension.insertExtra(tag, it)
}
project.logger.info("[Unimined/RemapJar ${path}] remapped $fromNs -> $toNs (end time: ${System.currentTimeMillis()})")
}.join()
remapper.finish()
target.openZipFileSystem(mapOf("mutable" to true)).use {
betterMixinExtension.insertExtra(tag, it)
}
project.logger.info("[Unimined/RemapJar ${path}] remapped $fromNs -> $toNs (end time: ${System.currentTimeMillis()})")
}

}

0 comments on commit d400c2c

Please sign in to comment.