Skip to content
Permalink
Browse files
Fix bug where runtime.close() is called when runtime hasn't been init…
…ialized
  • Loading branch information
ndw committed Sep 11, 2014
1 parent 5e3617c commit 793ca03
Showing 1 changed file with 3 additions and 1 deletion.
@@ -133,7 +133,9 @@ public void run(String[] args) throws IOException {
}
} finally {
// Here all memory should be freed by the next gc, right?
runtime.close();
if (runtime != null) {
runtime.close();
}
}
}

0 comments on commit 793ca03

Please sign in to comment.