Jemt / Fit.UI

Fit.UI is a JavaScript based UI framework built on Object Oriented principles
http://fitui.org
GNU Lesser General Public License v3.0
19 stars 7 forks source link

Thead safety - disposed nodes and premature callback execution #79

Closed FlowIT-JIT closed 5 years ago

FlowIT-JIT commented 5 years ago
  1. WSTreeView: nodes can be disposed while data is being loaded which makes WSTreeView throw errors. We need to check that a node has not been disposed when data is received from WebService.

  2. WSDropDown.AutoUpdateSelected(callback) invokes callback immediately if invoked while a node is being loaded, e.g. as a result of a user expanding a node with remote children, or a node being populated due to interaction with the WSTreeView instance - e.g. dd.GetTreeView().EnsureData().

These problems are related to #74