-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Description
Response<TResult> is created by ResponsePool, and returns to the pool with the Dispose() method.
Why wasn't Dispose() called in SafeSendResponse?
private void SafeSendResponse(Message message, Response response)
{
try
{
SendResponse(message, (Response)this._deepCopier.Copy(response));
}
catch (Exception exc)
{
LogWarningResponseFailed(this.logger, exc);
SendResponse(message, Response.FromException(exc));
}
//perhaps finally
final{
response.Dispose();
}
}
```DisposeMetadata
Metadata
Assignees
Labels
No labels