Skip to content

Progress API: Can block renderer #46642

Closed

Description

Testing #46458

Calls to report should be debounced and not sent directly to the main side.

If I continuously send report calls over for 5 seconds, the renderer window freezes:

let start = new Date().getTime();
let d = 0;
while ((d = new Date().getTime() - start) < 5000) {
	progress.report({ percentage: d * 100 / 5000, message: `${new Date()}` });
}

image

Activity

  1. added
    bug
    on Mar 27, 2018
  2. added
    verified
    on Mar 29, 2018
  3. locked and limited conversation to collaborators on May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions