diff options
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/sampler/java/JavaSampler.java | 2 | ||||
-rw-r--r-- | spark-velocity/build.gradle | 2 | ||||
-rw-r--r-- | spark-velocity4/build.gradle | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/sampler/java/JavaSampler.java b/spark-common/src/main/java/me/lucko/spark/common/sampler/java/JavaSampler.java index e9d7e0d..2e40406 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/sampler/java/JavaSampler.java +++ b/spark-common/src/main/java/me/lucko/spark/common/sampler/java/JavaSampler.java @@ -110,6 +110,8 @@ public class JavaSampler extends AbstractSampler implements Runnable { // collect statistics for the final window this.windowStatisticsCollector.measureNow(this.lastWindow.get()); } + + this.workerPool.shutdown(); } @Override diff --git a/spark-velocity/build.gradle b/spark-velocity/build.gradle index 5aa15a5..2e82cfc 100644 --- a/spark-velocity/build.gradle +++ b/spark-velocity/build.gradle @@ -10,7 +10,7 @@ dependencies { } repositories { - maven { url "https://repo.velocitypowered.com/releases/" } + maven { url "https://repo.papermc.io/repository/maven-public/" } } blossom { diff --git a/spark-velocity4/build.gradle b/spark-velocity4/build.gradle index d30f28b..9b30caa 100644 --- a/spark-velocity4/build.gradle +++ b/spark-velocity4/build.gradle @@ -15,7 +15,7 @@ dependencies { } repositories { - maven { url "https://repo.velocitypowered.com/snapshots/" } + maven { url "https://repo.papermc.io/repository/maven-public/" } } blossom { |