Switch to preemptive mode before calling COM (#21238)
authorJan Kotas <jkotas@microsoft.com>
Wed, 28 Nov 2018 19:19:48 +0000 (11:19 -0800)
committerGitHub <noreply@github.com>
Wed, 28 Nov 2018 19:19:48 +0000 (11:19 -0800)
commit4d4d028a67ac91b8b7c07d55b6376d16b1c512f2
tree620d0791179f34d85a9ae075f1bce084f238c9fd
parentf7c46a3847ded886135e055962e0d9136fdb77d9
Switch to preemptive mode before calling COM (#21238)

* Switch to preemptive mode before calling COM

COM can call back the runtime via RCW that leads to contract violations

Fixes #20373

* Fix one places
src/vm/olevariant.cpp