zed/crates
Antonio Scandurra 376aa1235f Fix "IncomingCallNotification was dropped" error when accepting a call
This was caused by accepting the call, which caused the notification to
be removed. When `active_call.accept_incoming()` finally completed, we
would try to get the app state from it in order to join the project, but
couldn't becuase the view would have already been dropped.

This commit fixes the bug by capturing a weak handle to the app state
when accepting the call as opposed to trying to read it from the view
when the accept completes.
2023-05-03 10:37:57 +02:00
..
activity_indicator Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
assets 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
auto_update Use post_json so that the Content-Type is set to application/json 2023-05-02 23:23:43 -04:00
breadcrumbs Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
call 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
client Update post_json to take in a bool for allowing for redirects 2023-05-02 23:22:55 -04:00
clock 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
collab Merge remote-tracking branch 'origin/main' into simplify-action-dispatch 2023-04-28 17:31:12 +02:00
collab_ui Fix "IncomingCallNotification was dropped" error when accepting a call 2023-05-03 10:37:57 +02:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette Run until parked now that the command palette spawns to dispatch action 2023-05-01 16:58:07 +02:00
context_menu Move dispatch_action_any_action_at to AsyncAppContext 2023-05-01 16:40:57 +02:00
copilot Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00
copilot_button Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
db 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
diagnostics Show diagnostic source in inline diagnostic 2023-05-02 09:08:07 -04:00
drag_and_drop Refine naming of element-related types and traits 2023-04-21 13:06:37 -06:00
editor Show diagnostic source in inline diagnostic 2023-05-02 09:08:07 -04:00
feedback use installation_id over device_id 2023-05-01 16:29:51 -04:00
file_finder 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fs 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
go_to_line 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
gpui Merge pull request #2436 from zed-industries/close-window-end-call 2023-05-03 10:27:05 +02:00
gpui_macros Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00
install_cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
journal Don't allow strong view handles to be read/updated with an AsyncAppContext 2023-04-26 13:36:13 +02:00
language Show source of diagnostic hovers 2023-04-27 14:35:34 -04:00
language_selector Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
live_kit_client 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp_log 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
media 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
menu Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
node_runtime Source ESLint server from Github rather than 3rd party NPM package 2023-04-28 16:42:36 -04:00
outline Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
picker Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_runtime 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
project Merge pull request #2417 from zed-industries/hover-markdown 2023-04-27 14:15:04 -07:00
project_panel Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
project_symbols Remove unnecessary calls to WeakViewHandle::upgrade 2023-04-26 11:13:46 +02:00
recent_projects Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
rope 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
rpc Merge pull request #2417 from zed-industries/hover-markdown 2023-04-27 14:15:04 -07:00
search Remove ViewContext::dispatch_any_action 2023-05-01 14:24:00 +02:00
settings 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sum_tree 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
terminal 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
terminal_view Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
text 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
theme Show diagnostic source in diagnostic multibuffer headers 2023-05-01 16:48:27 -04:00
theme_selector Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
theme_testbench 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
util Update post_json to take in a bool for allowing for redirects 2023-05-02 23:22:55 -04:00
vim Fix vim mode crash when active editor changes in inactive window 2023-04-27 10:43:35 -07:00
welcome Remove ViewContext::dispatch_action 2023-05-01 16:27:36 +02:00
workspace Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00
zed Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00