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
Many methods in the UI takes a StringProperty or a StringBinding as a parameter. Users of those methods must make sure to store a reference to the property before passing it as a parameter. Otherwise there is a risk that the property will be garbage collected as JavaFX mostly uses weak bindings.
In this case, the property with the value "bar" might be garbage collected sometime in the future as the reference is dropped. The only way to notice this is that foo will no longer be updated.
The text was updated successfully, but these errors were encountered:
Many methods in the UI takes a StringProperty or a StringBinding as a parameter. Users of those methods must make sure to store a reference to the property before passing it as a parameter. Otherwise there is a risk that the property will be garbage collected as JavaFX mostly uses weak bindings.
Example:
In this case, the property with the value "bar" might be garbage collected sometime in the future as the reference is dropped. The only way to notice this is that foo will no longer be updated.
The text was updated successfully, but these errors were encountered: