You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
When setting a binding.Untyped to nil, it crashes. I expect this case to work - since the type I'm using is a pointer and could be nil. The code seems to handle nil properly in several code paths, but not for .Set()
How to reproduce
Set binding.Untyped to something other than nil, then set it to nil.
Screenshots
No response
Example code
a:=binding.NewUntyped()
a.Set(nil) // this is fine since it's already set to nilb:=1a.Set(&b)
a.Set(nil) // crashes
Fyne version
2.4.4
Go compiler version
1.19.3
Operating system and version
Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
When setting a
binding.Untyped
to nil, it crashes. I expect this case to work - since the type I'm using is a pointer and could be nil. The code seems to handle nil properly in several code paths, but not for.Set()
How to reproduce
Set binding.Untyped to something other than nil, then set it to nil.
Screenshots
No response
Example code
Fyne version
2.4.4
Go compiler version
1.19.3
Operating system and version
Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: