Skip to content

Commit

Permalink
KSP2: Close processorClassloader
Browse files Browse the repository at this point in the history
See also: #2159
  • Loading branch information
ting-yuan committed Oct 23, 2024
1 parent 486cdf3 commit c4c9c42
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ abstract class KspAAWorkerAction : WorkAction<KspAAWorkParameter> {
} catch (e: InvocationTargetException) {
kspGradleLogger.exception(e.targetException)
throw e.targetException
} finally {
processorClassloader.close()
}

if (exitCode != ExitCode.OK) {
Expand Down

0 comments on commit c4c9c42

Please sign in to comment.