Skip to content

Commit 3c6bf80

Browse files
authored
Merge pull request #1486 from microsoft/dev/lifengl/removeNotifyOfCrossThreadDependencyInSynchronizationContext
2 parents 8496766 + b06cfe5 commit 3c6bf80

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Microsoft.VisualStudio.Threading/JoinableTaskContext.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,6 @@ protected internal virtual SynchronizationContext NoMessagePumpSynchronizationCo
302302
{
303303
get
304304
{
305-
// Callers of this method are about to take a private lock, which tends
306-
// to cause a deadlock while debugging because of lock contention with the
307-
// debugger's expression evaluator. So prevent that.
308-
Debugger.NotifyOfCrossThreadDependency();
309-
310305
return NoMessagePumpSyncContext.Default;
311306
}
312307
}

0 commit comments

Comments
 (0)