Skip to content

FEA-8530: Fix late init error#449

Merged
btr-rmconsole-2[bot] merged 3 commits intomasterfrom
fix_late_init_error
Aug 26, 2025
Merged

FEA-8530: Fix late init error#449
btr-rmconsole-2[bot] merged 3 commits intomasterfrom
fix_late_init_error

Conversation

@corwinsheahan-wf
Copy link
Copy Markdown
Contributor

@corwinsheahan-wf corwinsheahan-wf commented Aug 26, 2025

Motivation

We're seeing late initialization errors here.

It seems that pause can get called and execute onPause before onListen executes

Changes

Updated this to be a bit safer and to align more closely with the Dart-sdk example of how to do a stream transform.

This will fix the late init error.

Testing/QA Instructions

  • CI passes

@corwinsheahan-wf corwinsheahan-wf changed the title Fix late init error FEA-8530: Fix late init error Aug 26, 2025
@corwinsheahan-wf corwinsheahan-wf requested a review from a team August 26, 2025 17:15
Copy link
Copy Markdown
Member

@tomconnell-wf tomconnell-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

subscription will certainly be around when attempting to access its pause, resume, and cancel members.

@corwinsheahan-wf
Copy link
Copy Markdown
Contributor Author

QA +1

  • CI Passes

Merging into master.
@Workiva/release-management-p

Copy link
Copy Markdown
Contributor

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from RM

@btr-rmconsole-2 btr-rmconsole-2 bot merged commit 913fc4a into master Aug 26, 2025
9 checks passed
@btr-rmconsole-2 btr-rmconsole-2 bot deleted the fix_late_init_error branch August 26, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants