Skip to content

Conversation

maxhora
Copy link
Collaborator

@maxhora maxhora commented Sep 7, 2019

  • Force GC.Collect() on closing of terminal;
  • Prepare MainPage, MainViewModel, TabBar, TerminalBridge for disposal.

related to https://github.com/jumptrading/FluentTerminal/issues/190

With PR's changes applied the memory consumption after 50 new windows opened and closed should be decreased from ~1100 MB to ~260 MB.

- Prepare MainPage, MainViewModel, TabBar, TerminalBridge for disposal.
@maxhora maxhora requested a review from felixse September 7, 2019 19:56
@maxhora maxhora self-assigned this Sep 7, 2019
@maxhora maxhora merged commit dbe4aad into felixse:master Sep 9, 2019
maxhora added a commit to maxhora/FluentTerminal that referenced this pull request Sep 9, 2019
* - Force GC.Collect() on closing of terminal;
- Prepare MainPage, MainViewModel, TabBar, TerminalBridge for disposal.

* Request _dispatcherJobs Task cancellation ASAP on terminal closing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant