-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run
ShouldContinue
on the main thread in Connect-Xenserver.cs
In .NET Core, the ValidateServerCertificate call runs in a separate thread. This causes an InvalidOperationException when calling ShouldContinue, which must be called within the same thread as ProcessRecord. Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
- Loading branch information
1 parent
9f65297
commit a2824ec
Showing
1 changed file
with
91 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters