0

Solves the FindBugs multithreading bug.

This commit is contained in:
Ethan Lee
2012-02-07 04:04:01 -05:00
parent 47da2997fe
commit b979fc2a70

View File

@@ -144,13 +144,11 @@ public final class Qcommon extends Globals {
if (Globals.log_stats.value != 0.0f) {
if (Globals.log_stats_file != null) {
try {
Globals.log_stats_file.close();
} catch (IOException e) {
}
Globals.log_stats_file= null;
try {
Globals.log_stats_file.close();
} catch (IOException e) {
}
Globals.log_stats_file= null;
try {
Globals.log_stats_file= new FileWriter("stats.log");