Thorsten Ball and Bennet
140d70289e
Avoid panic by only restoring workspace if UI has launched ( #18386 )
...
This should fix the `unregistered setting type
workspace::workspace_settings::WorkspaceSettings` panic that came from
inside `restorable_workspace_locations`.
We tracked it down to a possible scenario (we can't recreate it though)
in which `app.on_reopen` is called before the app has finished
launching.
In any case, this check makes sense, because we only want to restore a
workspace in case the whole app has launched with a UI.
Release Notes:
- N/A
Co-authored-by: Bennet <bennet@zed.dev >
2024-09-26 12:26:58 +02:00
..
2024-09-25 10:45:56 -07:00
2024-09-20 14:59:12 -06:00
2024-09-13 17:44:16 -04:00
2024-09-25 22:55:36 +02:00
2024-09-17 08:47:08 -06:00
2024-09-04 14:32:20 -04:00
2024-09-16 21:55:32 -06:00
2024-09-19 19:43:32 -04:00
2024-09-06 11:58:39 +02:00
2024-09-16 16:20:17 -06:00
2024-09-20 18:28:50 -04:00
2024-09-25 10:02:35 +02:00
2024-09-20 18:28:50 -04:00
2024-09-25 12:50:38 -07:00
2024-09-16 16:20:17 -06:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-19 15:51:48 -04:00
2024-09-23 15:28:04 -06:00
2024-09-19 07:20:27 -04:00
2024-09-06 11:58:39 +02:00
2024-09-20 10:48:27 -04:00
2024-09-26 11:07:07 +02:00
2024-09-23 15:28:04 -06:00
2024-09-25 10:45:56 -07:00
2024-09-13 14:49:50 -04:00
2024-09-18 23:29:34 +02:00
2024-09-12 14:46:08 -04:00
2024-09-13 13:17:49 -04:00
2024-09-24 16:23:08 -06:00
2024-09-26 10:31:17 +03:00
2024-09-13 13:17:49 -04:00
2024-09-25 11:34:27 +02:00
2024-09-23 15:45:00 -04:00
2024-09-12 14:46:08 -04:00
2024-09-10 13:41:06 -04:00
2024-09-25 15:21:00 -04:00
2024-09-13 17:44:16 -04:00
2024-09-23 15:28:04 -06:00
2024-09-06 11:58:39 +02:00
2024-09-23 15:28:04 -06:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-06 11:58:39 +02:00
2024-09-18 19:39:15 -04:00
2024-09-06 11:58:39 +02:00
2024-09-25 16:33:00 -07:00
2024-09-20 14:59:12 -06:00
2024-09-10 15:51:01 -04:00
2024-09-24 16:23:08 -06:00
2024-09-25 15:29:04 -07:00
2024-09-06 11:58:39 +02:00
2024-09-25 10:45:56 -07:00
2024-09-23 15:28:04 -06:00
2024-09-16 17:10:57 -07:00
2024-09-24 15:03:22 +02:00
2024-09-25 12:45:41 -07:00
2024-09-17 19:43:59 -06:00
2024-09-25 18:01:12 -04:00
2024-09-13 16:23:55 -04:00
2024-09-16 17:10:57 -07:00
2024-09-24 16:23:08 -06:00
2024-09-17 13:51:11 -04:00
2024-09-17 15:08:14 -04:00
2024-09-23 15:28:04 -06:00
2024-09-25 15:29:04 -07:00
2024-09-24 16:23:08 -06:00
2024-09-16 16:20:17 -06:00
2024-09-25 15:29:04 -07:00
2024-09-13 21:12:29 -04:00
2024-09-25 13:41:18 +02:00
2024-09-06 11:58:39 +02:00
2024-09-25 12:45:53 +02:00
2024-09-25 15:29:04 -07:00
2024-09-17 12:51:31 -04:00
2024-09-10 11:16:27 -04:00
2024-09-17 19:43:59 -06:00
2024-09-25 12:03:24 +02:00
2024-09-24 18:21:26 +03:00
2024-09-20 18:09:18 -04:00
2024-09-06 11:58:39 +02:00
2024-09-20 10:53:06 +02:00
2024-09-06 11:58:39 +02:00
2024-09-25 15:21:00 -04:00
2024-09-19 17:51:28 +02:00
2024-09-06 11:58:39 +02:00
2024-09-13 17:44:16 -04:00
2024-09-25 12:27:57 +02:00
2024-09-24 08:49:07 -06:00
2024-09-06 11:58:39 +02:00
2024-09-17 14:48:05 +02:00
2024-09-06 11:58:39 +02:00
2024-09-24 16:23:08 -06:00
2024-09-19 07:20:27 -04:00
2024-09-25 18:01:33 -04:00
2024-09-24 16:23:08 -06:00
2024-09-20 18:28:50 -04:00
2024-09-17 13:26:34 -04:00
2024-09-07 02:36:55 +02:00
2024-09-06 11:58:39 +02:00
2024-09-25 16:03:08 -07:00
2024-09-19 12:31:40 -04:00
2024-09-13 16:45:16 -04:00
2024-09-17 11:19:07 -04:00
2024-09-06 11:58:39 +02:00
2024-09-26 11:07:07 +02:00
2024-09-16 08:29:46 -04:00
2024-09-25 18:08:34 +02:00
2024-09-25 12:03:24 +02:00
2024-09-26 12:26:58 +02:00