Skip to content

Conversation

@MatinAniss
Copy link
Contributor

@MatinAniss MatinAniss commented Jun 23, 2025

Uses defer when calling listeners of App::on_action, this prevents a surprise caused by the double lease when trying to update the window in the callback since it is already being updated.

Release Notes:

  • N/A
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jun 23, 2025
@MatinAniss MatinAniss force-pushed the gpui-supply-window branch from 3bd62dd to b40cc9c Compare June 23, 2025 11:29
@MatinAniss MatinAniss force-pushed the gpui-supply-window branch from b40cc9c to 42993e8 Compare July 8, 2025 15:46
@MatinAniss MatinAniss changed the title gpui: Supply window to App::on_action listener gpui: Defer App::on_action listeners Jul 8, 2025
@MatinAniss MatinAniss changed the title gpui: Defer App::on_action listeners gpui: Defer App::on_action listeners Jul 8, 2025
@MatinAniss MatinAniss closed this Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

2 participants