Skip to content

fix: recreate channels on load#204

Merged
kptdobe merged 1 commit intomainfrom
channels
Feb 26, 2026
Merged

fix: recreate channels on load#204
kptdobe merged 1 commit intomainfrom
channels

Conversation

@kptdobe
Copy link
Contributor

@kptdobe kptdobe commented Feb 26, 2026

If the app reloads or "navigates" (internal navigation), the SDK fails to load:

shell.js:85 Uncaught DataCloneError: Failed to execute 'postMessage' on 'Window': Port at index 0 is already neutered.


The ports are neutered and needs to be recreated.
There is no reason to have a global variable anyway.

@aem-code-sync
Copy link

aem-code-sync bot commented Feb 26, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@kptdobe kptdobe merged commit d99ae46 into main Feb 26, 2026
3 of 4 checks passed
@kptdobe kptdobe deleted the channels branch February 26, 2026 12:39
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.

3 participants