Double Dispose Bug

If the instance is destroyed, and than we dispose context, the instance is disposed twice :)
The patch fixes the issue