This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Network: Prevent crash when dataChanged is triggered during initializ…
…ation (#3568) * Network: Prevent crash when dataChanged is triggered during initial setting of options Fixes #3562. Options `hidden` and `physics` can emit a `_dataChanged` event within `setOptions()`. If this happens when setting options during the initialization of the `Network` instance, this leads to an error thrown, because there is no DataSet instance connected yet to the instance. This bug was introduced in `v4.21.0`. Unit tests have been added for this case. * Edited comment
- Loading branch information