Skip to content

Commit

Permalink
java: EvmcVm.close does not throw exception
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Oct 14, 2020
1 parent 2fc5cb3 commit 6819349
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,10 @@ public int set_option(String name, String value) {
private static native int get_result_size();

/**
* This method cleans up resources
*
* @throws Exception
* This method cleans up resources.
*/
@Override
public void close() throws Exception {
public void close() {
destroy(nativeVm);
}
}

0 comments on commit 6819349

Please sign in to comment.