private static void notifyHooks() {

		for (ShutdownHook hook : hooks) {
			try {
				hook.r.run();
			}
			catch (Throwable t) {
				t.printStackTrace();
			}
		}
	}
Remove a shutdown hook previously registered.
Hooks with a higher priority value will run first
@param hook shutdown hook
Ghidra/Framework/Generic/src/main/java/ghidra/framework/ShutdownHookRegistry.java