Application hangs on wait async method [duplicate]
问题 This question already has answers here : An async/await example that causes a deadlock (5 answers) Closed 2 years ago . I've got two combobox controls on my page, binded to a ObservableCollection<Vendor> and ObservableCollection<Driver>. When the page is loaded the OnWindowLoaded() is executed. When the setter of the property Vendor is triggered, OnVendorPropertyChanged is executed. When OnWindowLoaded() finishes, Vendor and Driver is being set correctly. However when I change the Vendor, the