mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 13:37:56 +08:00
GP-0: Making Project AutoCloseable
This commit is contained in:
@@ -29,7 +29,7 @@ import ghidra.framework.options.SaveState;
|
||||
* and tools to work together.
|
||||
*
|
||||
*/
|
||||
public interface Project {
|
||||
public interface Project extends AutoCloseable {
|
||||
|
||||
/**
|
||||
* Convenience method to get the name of this project.
|
||||
@@ -106,6 +106,7 @@ public interface Project {
|
||||
/**
|
||||
* Close the project.
|
||||
*/
|
||||
@Override
|
||||
public void close();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user