Unload any currently loaded sources.
()
| 462 | * Unload any currently loaded sources. |
| 463 | */ |
| 464 | public void unloadSources() |
| 465 | { |
| 466 | //make sure all characters are closed before unloading sources. |
| 467 | if (closeAllCharacters()) |
| 468 | { |
| 469 | currentSourceSelection.set(null); |
| 470 | currentDataSetRef.set(null); |
| 471 | Globals.emptyLists(); |
| 472 | updateTitle(); |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | /** |
| 477 | * Loads a selection of sources into PCGen asynchronously and |
no test coverage detected