geforkt von SteamWar/PersistentBungeeCore
Clear resourceBundle caches
Dieser Commit ist enthalten in:
Ursprung
a7f0dd4792
Commit
bd7e4a5e53
@ -33,6 +33,7 @@ import java.io.InputStream;
|
|||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLClassLoader;
|
import java.net.URLClassLoader;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import java.util.ResourceBundle;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.jar.JarEntry;
|
import java.util.jar.JarEntry;
|
||||||
import java.util.jar.JarFile;
|
import java.util.jar.JarFile;
|
||||||
@ -111,6 +112,9 @@ public final class PluginUtils {
|
|||||||
} catch (Exception t) {
|
} catch (Exception t) {
|
||||||
severe("Failed to cleanup bungee internal maps from plugin refs", t, plugin.getDescription().getName());
|
severe("Failed to cleanup bungee internal maps from plugin refs", t, plugin.getDescription().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ResourceBundle.clearCache(pluginClassLoader);
|
||||||
|
|
||||||
//close classloader
|
//close classloader
|
||||||
if (pluginClassLoader instanceof URLClassLoader) {
|
if (pluginClassLoader instanceof URLClassLoader) {
|
||||||
try {
|
try {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren