You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As caught in dotnet/roslyn#18563, we sometimes allow an ArgumentNullException to propagate from SemaphoreSlim->AsyncSemaphore->StreamJsonRpc.DelimitedMessageHandler->JsonRpc.InvokeCoreAsync and eventually to our caller. When our caller is Roslyn, then tend to crash VS.
@sharwellreports a NullReferenceException can also be thrown from SemaphoreSlim.
The text was updated successfully, but these errors were encountered:
This is due to Roslyn using objects after they've been disposed, and Roslyn has fixed this in their code. I don't think we need to make StreamJsonRpc more resilient than a threading primitive when these types are being misused.
As caught in dotnet/roslyn#18563, we sometimes allow an
ArgumentNullException
to propagate from SemaphoreSlim->AsyncSemaphore->StreamJsonRpc.DelimitedMessageHandler->JsonRpc.InvokeCoreAsync and eventually to our caller. When our caller is Roslyn, then tend to crash VS.@sharwell reports a
NullReferenceException
can also be thrown fromSemaphoreSlim
.The text was updated successfully, but these errors were encountered: