* Check s_windows.size before calling clear
This commit is contained in:
parent
a27463844d
commit
8417376581
|
|
@ -98,6 +98,7 @@ public final class Env
|
||||||
}
|
}
|
||||||
**/
|
**/
|
||||||
//bug [ 1574630 ]
|
//bug [ 1574630 ]
|
||||||
|
if (s_windows.size() > 0) {
|
||||||
if (!finalCall) {
|
if (!finalCall) {
|
||||||
Container c = s_windows.get(0);
|
Container c = s_windows.get(0);
|
||||||
s_windows.clear();
|
s_windows.clear();
|
||||||
|
|
@ -105,6 +106,7 @@ public final class Env
|
||||||
} else {
|
} else {
|
||||||
s_windows.clear();
|
s_windows.clear();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Clear all Context
|
// Clear all Context
|
||||||
if (finalCall)
|
if (finalCall)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue