Skip to content

Check value_stream before property is accessed#136

Closed
MattRoyle wants to merge 1 commit into
nion-software:masterfrom
MattRoyle:slider-value
Closed

Check value_stream before property is accessed#136
MattRoyle wants to merge 1 commit into
nion-software:masterfrom
MattRoyle:slider-value

Conversation

@MattRoyle
Copy link
Copy Markdown
Contributor

Fixes #135.
Add a check that the stream itself is not None before accessing the value member.

@MattRoyle MattRoyle self-assigned this May 18, 2026
@MattRoyle MattRoyle requested a review from KRLango May 18, 2026 10:06
@cmeyer
Copy link
Copy Markdown
Collaborator

cmeyer commented May 18, 2026

Closing this. Why would the value_stream be None? This solution hides the real problem which is that a caller is asking for a value on a canvas item that has been closed.

@cmeyer cmeyer closed this May 18, 2026
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.

Get after close slider traceback

3 participants