]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ThreadUtils.java
Allow ExecutorWorker thread pool shutdown
[simantics/platform.git] / bundles / org.simantics.utils.thread / src / org / simantics / utils / threads / ThreadUtils.java
index e9a6fa4e3aaa63645e2889e4b0050e009d71545f..3b71babe224434a3cf1ddd03cb3940bbea10094e 100644 (file)
@@ -878,7 +878,7 @@ public class ThreadUtils {
      * 
      * @param pool {@link ExecutorService} to shut down
      */
-    private static void shutdownAndAwaitTermination(ExecutorService pool, long timeoutMs) {
+    static void shutdownAndAwaitTermination(ExecutorService pool, long timeoutMs) {
         //long t = System.currentTimeMillis();
         pool.shutdown(); // Disable new tasks from being submitted
         try {