0

Fixed NPE

This commit is contained in:
Pepich 2017-03-29 21:39:57 +02:00
parent 54bd7ba4ac
commit 3ee9f7be1b

View File

@ -446,6 +446,7 @@ public final class ModuleLoader implements CoreModule
modules.remove(m); modules.remove(m);
try try
{ {
if (loaders.containsKey(m))
loaders.remove(m).close(); loaders.remove(m).close();
} }
catch (IOException e) catch (IOException e)