clearPersistedState

external fun clearPersistedState(name: String)(source)

Clears the saved state for a window with the given name. This removes all persisted window bounds, display mode, and work area information that was previously saved when windowStatePersistence was enabled.

If the window name is empty or the window state doesn't exist, the method will log a warning.