Skip to content

Commit 38551ac

Browse files
committed
Shutdown plugins
1 parent 3911996 commit 38551ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

logicaldoc-util/src/main/java/com/logicaldoc/util/junit/AbstractTestCase.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public void tearDown() throws SQLException {
7373
try {
7474
destroyDatabase();
7575

76+
PluginRegistry registry = PluginRegistry.getInstance();
77+
registry.getManager().shutdown();
78+
7679
File pluginsDir = new File(
7780
Context.get().getProperties().getProperty("conf.plugindir", "target/tests-plugins"));
7881
FileUtil.delete(pluginsDir);

0 commit comments

Comments
 (0)