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
public static class Test
{
public static void CloseRabbitConnections(IConnection connection, IModel channel)
{
channel.Dispose();
connection.Dispose(); // this line - S3966 Refactor this code to make sure 'Test' is disposed only once.
}
}
Related information
SonarC# Version 6.7.1.4347
Visual Studio Version 15.5.2
The text was updated successfully, but these errors were encountered:
Related information
The text was updated successfully, but these errors were encountered: