aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j/src/test
diff options
context:
space:
mode:
authorValeriy Kucherenko <valeriy.kucherenko@gmail.com>2020-07-17 19:51:43 +0300
committerGitHub <noreply@github.com>2020-07-17 19:51:43 +0300
commit58d3c8e183c44fda43adb61ff4b0dba0ca0b3cc0 (patch)
tree942ce7c0e97e2005d87bd7b983d2227e9916ff7a /pf4j/src/test
parent4d08bc8c51386ee6bdde1322b6b291db1196b4b2 (diff)
downloadpf4j-58d3c8e183c44fda43adb61ff4b0dba0ca0b3cc0.tar.gz
pf4j-58d3c8e183c44fda43adb61ff4b0dba0ca0b3cc0.zip
Fix for problem with file lock on Windows platform. Introduce unloadPlugins method. (#387)
Thanks for your contribution!
Diffstat (limited to 'pf4j/src/test')
-rw-r--r--pf4j/src/test/java/org/pf4j/JarPluginManagerTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/pf4j/src/test/java/org/pf4j/JarPluginManagerTest.java b/pf4j/src/test/java/org/pf4j/JarPluginManagerTest.java
index d9ca90a..4eb2872 100644
--- a/pf4j/src/test/java/org/pf4j/JarPluginManagerTest.java
+++ b/pf4j/src/test/java/org/pf4j/JarPluginManagerTest.java
@@ -53,6 +53,8 @@ public class JarPluginManagerTest {
@AfterEach
public void tearDown() {
+ pluginManager.unloadPlugins();
+
pluginJar = null;
pluginManager = null;
}