diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2019-04-23 14:18:45 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2019-04-23 14:18:45 +0300 |
commit | b6ca57efbf07410ee30155d4f3c740aab168b119 (patch) | |
tree | 9e06f5587b9a9dcb1cd6956e9fd7410315a62e67 /main/src/addins/CSharpBinding | |
parent | 0d19d075e7755a90eb0d4560bf86352534e75caf (diff) |
Fix document loading issues
Loading a document inside the OnRealized method of its container may
have weird side effects, since Load() can trigger events or async
continuations that may cause changes in the document manager. To avoid
this problem, Load is now invoked after the realization is complete.
Fixes bug #848830 - Blank XAML editor on new Forms project creation.
Also fixed issue in the Load method which in some cases was causing
OnLoad to be called more than once.
Diffstat (limited to 'main/src/addins/CSharpBinding')
0 files changed, 0 insertions, 0 deletions