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 ObjectDisposedException when calling a hashing algorithm twice #3

Merged
merged 1 commit into from
Jun 21, 2016

Conversation

toburger
Copy link
Contributor

When calling a hashing function twice you get the following error:

YoLo.Bytes.sha1 "test"B
> val it : byte [] =
  [|169uy; 74uy; 143uy; 229uy; 204uy; 177uy; 155uy; 166uy; 28uy; 76uy; 8uy;
    115uy; 211uy; 145uy; 233uy; 135uy; 152uy; 47uy; 187uy; 211uy|]
YoLo.Bytes.sha1 "test"B
> System.ObjectDisposedException: Cannot access a disposed object.

This PR fixes the error.

@haf haf merged commit 077257c into haf:master Jun 21, 2016
@haf
Copy link
Owner

haf commented Jun 21, 2016

Thanks @toburger

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