Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 044cd07

Browse files
authored
Merge pull request #71 from paxtonhare/make_wait_public
making waitForTaskExecutorToFinish public
2 parents c6148c3 + ac74c66 commit 044cd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/marklogic/client/ext/modulesloader/impl/DefaultModulesLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public Set<Resource> loadModules(String baseDir, ModulesFinder modulesFinder, Da
123123
* If an AsyncTaskExecutor is used for loading options/services/transforms, we need to wait for the tasks to complete
124124
* before we e.g. release the DatabaseClient.
125125
*/
126-
protected void waitForTaskExecutorToFinish() {
126+
public void waitForTaskExecutorToFinish() {
127127
if (shutdownTaskExecutorAfterLoadingModules) {
128128
if (taskExecutor instanceof ExecutorConfigurationSupport) {
129129
((ExecutorConfigurationSupport) taskExecutor).shutdown();

0 commit comments

Comments
 (0)