Skip to content

Add mode and subscriptions to App container#1762

Merged
charisk merged 2 commits intomainfrom
charisk/app-mode-and-subscriptions
Nov 15, 2022
Merged

Add mode and subscriptions to App container#1762
charisk merged 2 commits intomainfrom
charisk/app-mode-and-subscriptions

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Nov 14, 2022

Adds two more pieces of information to the App container:

  • The mode we're running in
  • Any subscriptions for objects that need to be disposed.

I then took advantage of that in the DbModule. I also released that we were registering the DbPanel to be disposed twice so I removed that (see second commit).

Checklist

N/A:

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk added the secexp label Nov 14, 2022
@charisk charisk requested review from a team as code owners November 14, 2022 14:19
Base automatically changed from charisk/app-extension-context-info to main November 14, 2022 15:48
@charisk charisk force-pushed the charisk/app-mode-and-subscriptions branch from a351549 to 1611fc4 Compare November 14, 2022 18:45
Copy link
Copy Markdown
Contributor

@norascheuch norascheuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@charisk charisk merged commit 39ae3cd into main Nov 15, 2022
@charisk charisk deleted the charisk/app-mode-and-subscriptions branch November 15, 2022 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants