Skip to content

The ANR worker only functions correctly on the first ANR #876

@PayneFuRC

Description

@PayneFuRC

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Electron SDK Version

4.22.0

Electron Version

29.2.0

What platform are you using?

MacOS

Link to Sentry event

No response

Steps to Reproduce

  1. run the example app: https://gist.github.com/PayneFuRC/52c3ccb46d0a306d84600213c1e09cdb
  2. input some text, then the main process will be freeze.
  3. The anr info will be uploaded to sentry
  4. After resume, then input some text again, the main process will be freeze again
  5. The anr info will be not uploaded

Expected Result

The second ANR info will be uploaded

Actual Result

The second ANR info will not be uploaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions