Commit af7c6710 authored by Norbraten, Terry's avatar Norbraten, Terry
Browse files

[Terry N.] check for null pointer. Found during X3D-Edit external Xj3d

reload
parent 84c07d61
......@@ -194,8 +194,10 @@ public class LoaderThreadPool {
public void clear() {
pending.purge();
for(int i = loaders.length; --i >=0; )
loaders[i].abortCurrentFile();
for(int i = loaders.length; --i >=0;) {
if (loaders[i] != null)
loaders[i].abortCurrentFile();
}
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment