Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: if calls Close or Dispose many times it'll throws a NullReferenceException #3

Merged
merged 1 commit into from
Mar 22, 2014

Conversation

matteobaglini
Copy link
Contributor

This simple code:

static void Main(string[] args)
{
var redis = ConnectionMultiplexer.Connect("localhost");
redis.Close();
redis.Close();
}

on second Close throws a NullReferenceException in StackExchange.Redis.ConnectionMultiplexer.OnCloseReaderWriter()

mgravell added a commit that referenced this pull request Mar 22, 2014
Fix: if calls Close or Dispose many times it'll throws a NullReferenceException
@mgravell mgravell merged commit 7c85913 into StackExchange:master Mar 22, 2014
@mgravell
Copy link
Collaborator

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants