Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions rd-net/Lifetimes/Threading/ByteBufferAsyncProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ [PublicAPI] public void Put(UnsafeWriter.Cookie data)
}


#if !NET35
[System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions] // to force myLock to be unlocked even in case of corrupted state exception
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have also added logging of the exception

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, a good idea! See #190.

#endif
[PublicAPI] public void Put(byte* start, int count)
{
if (count <= 0) return;
Expand Down