]> 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 cd8d6027e4d7c54b56eaa56a3ef39b24ea4adcae..15e818416bbd0d044ddcd05c115f21019409b88b 100644 (file)
@@ -882,7 +882,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 {