diff options
author | Valeriy Kucherenko <valeriy.kucherenko@gmail.com> | 2020-07-17 19:51:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 19:51:43 +0300 |
commit | 58d3c8e183c44fda43adb61ff4b0dba0ca0b3cc0 (patch) | |
tree | 942ce7c0e97e2005d87bd7b983d2227e9916ff7a /pf4j/src/test | |
parent | 4d08bc8c51386ee6bdde1322b6b291db1196b4b2 (diff) | |
download | pf4j-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.java | 2 |
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; } |