This is an automated email from the ASF dual-hosted git repository.
blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 4c27529 Make ready for release 2.10.2
4c27529 is described below
commit 4c27529fdc20f20c31a1c2278b9e6a85f56df256
Author: Daniel Blankensteiner <[email protected]>
AuthorDate: Fri Feb 17 13:01:10 2023 +0100
Make ready for release 2.10.2
---
CHANGELOG.md | 2 +-
src/DotPulsar/DotPulsar.csproj | 2 +-
src/DotPulsar/Internal/Producer.cs | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 87ff85a..257b35f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,7 @@ The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.0.0/)
### Fixed
-- Fixed a memory leak introduced in 2.8.0 with internal rewrite of producer
functionality
+- Fixed another memory leak introduced in 2.8.0 with internal rewrite of
producer functionality
## [2.10.1] - 2023-02-15
diff --git a/src/DotPulsar/DotPulsar.csproj b/src/DotPulsar/DotPulsar.csproj
index df79275..e88eccf 100644
--- a/src/DotPulsar/DotPulsar.csproj
+++ b/src/DotPulsar/DotPulsar.csproj
@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net7.0</TargetFrameworks>
- <Version>2.10.1</Version>
+ <Version>2.10.2</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<FileVersion>$(Version)</FileVersion>
<Authors>ApachePulsar,DanskeCommodities,dblank</Authors>
diff --git a/src/DotPulsar/Internal/Producer.cs
b/src/DotPulsar/Internal/Producer.cs
index f0a8926..f8e8568 100644
--- a/src/DotPulsar/Internal/Producer.cs
+++ b/src/DotPulsar/Internal/Producer.cs
@@ -255,10 +255,9 @@ public sealed class Producer<TMessage> :
IProducer<TMessage>, IRegisterEvent
#endif
}
- await InternalSend(metadata, message, true, OnMessageSent,
cancellationToken).ConfigureAwait(false);
-
try
{
+ await InternalSend(metadata, message, true, OnMessageSent,
cancellationToken).ConfigureAwait(false);
return await tcs.Task.ConfigureAwait(false);
}
finally