mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-27 23:07:41 +01:00
Fixed memory leaks.
Closed projects were held in memory because the Map folder watcher threads were still alive.
This commit is contained in:
@@ -59,6 +59,7 @@ public class WorkspaceActions {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
if (!(selectedNode instanceof Project)) return;
|
||||
Workspace.closeProject((Project) selectedNode);
|
||||
selectedNode = null;
|
||||
};
|
||||
public void selectionChanged(ProjectTreeNode selectedNode, TreePath[] selectedPaths) {
|
||||
setEnabled(selectedNode instanceof Project);
|
||||
|
||||
Reference in New Issue
Block a user