void dismissEditors(Program program) {
		List<Function> list = new ArrayList<Function>(editorMap.keySet());
		for (Function function : list) {
			if (program == null || function.getProgram() == program) {
				StackEditorProvider editor = editorMap.get(function);
				editor.dispose();
				editorMap.remove(function);
			}
		}
	}
Dismiss all open stack frame editors for the indicated program.
@param program program whose editors should close
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/stackeditor/StackEditorManager.java