13
0

Clear resourceBundle caches

Dieser Commit ist enthalten in:
Lixfel 2020-12-15 16:58:17 +01:00
Ursprung a7f0dd4792
Commit bd7e4a5e53

Datei anzeigen

@ -33,6 +33,7 @@ import java.io.InputStream;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.Set;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
@ -111,6 +112,9 @@ public final class PluginUtils {
} catch (Exception t) {
severe("Failed to cleanup bungee internal maps from plugin refs", t, plugin.getDescription().getName());
}
ResourceBundle.clearCache(pluginClassLoader);
//close classloader
if (pluginClassLoader instanceof URLClassLoader) {
try {