Skip to content

Issue: Background activity fails if dashboard is closed on startup #316

@davidsneighbour

Description

@davidsneighbour

Describe the bug

I am unable to properly phrase the issue, so please feel free to ask for details if I am missing anything. I have Front Matter set to open the dashboard automatically on startup of VSCode. Sometimes I close the dashboard tab before it is fully loaded. In that case, a bunch of errors pop up a little bit after that (see screenshots). I think whatever activity is running, should be "abandoned" when the tab is closed or issues with the "webview being disposed" should be caught. I do not have any additional or verbose debugging enabled, so I should not see the issues. It feels like there is some async stuff going on to populate the dashboard, that might be easily abandoned on tab-closure.

To Reproduce
Steps to reproduce the behavior:

  1. Set dashboard to "open on startup"
  2. start VSCode and close the dashboard tab right after it pops up
  3. wait for it...

Expected behavior
No errors, catching the problem behind the scenes.

Screenshots

20220408-20:57:33-Selection-001

20220408-20:59:03-Selection-001

20220408-20:59:25-Selection-001

VSCode:

  • Version: 1.66.1
  • Commit: 8dfae7a5cd50421d10cd99cb873990460525a898
  • Date: 2022-04-06T14:51:26.173Z
  • Electron: 17.2.0
  • Chromium: 98.0.4758.109
  • Node.js: 16.13.0
  • V8: 9.8.177.11-electron.0
  • OS: Linux x64 5.13.0-39-generic
  • Front Matter: v7.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions