This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
BPA.CAP
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
dispose resource when connection pool is full
undefined
Savorboard
7 years ago
parent
815e16f5ff
commit
25ff7a688e
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/DotNetCore.CAP.RabbitMQ/PublishQueueExecutor.cs
+ 3
- 1
src/DotNetCore.CAP.RabbitMQ/PublishQueueExecutor.cs
View File
@@ -53,7 +53,9 @@ namespace DotNetCore.CAP.RabbitMQ
}
finally
{
_connectionChannelPool.Return(channel);
var returned = _connectionChannelPool.Return(channel);
if (!returned)
channel.Dispose();
}
}
}
Write
Preview
Loading…
Cancel
Save