mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 09:25:32 +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.
|
* and tools to work together.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface Project {
|
public interface Project extends AutoCloseable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convenience method to get the name of this project.
|
* Convenience method to get the name of this project.
|
||||||
@@ -106,6 +106,7 @@ public interface Project {
|
|||||||
/**
|
/**
|
||||||
* Close the project.
|
* Close the project.
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void close();
|
public void close();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user