Skip to content

setImmediate works only on first page load, but not after subsequent reloads. #25314

@valyrie97

Description

@valyrie97

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 10.1.0
  • Operating System:
    • windows 10
  • Last Known Working Electron version:
    • unknown

Expected Behavior

setImmediate works the same regardless of whether you have loaded a page for the first time, or after a reload.

Actual Behavior

setImmediate does execute on first page load, and does not after reloads.

To Reproduce

I've created an electron fiddle gist which shows the problem. The essence is that on first page load, setImmediate properly executes the given function, however, after reloading the page, with the same code, the invocation gets lost internally and never happens.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions