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

Object: Fix ToggleRef disposing when we're being finalized #32

Closed
wants to merge 1 commit into from

Commits on Dec 4, 2011

  1. Object: Fix ToggleRef disposing when we're being finalized

    We should not try to dispose our ToggleRef when Dispose(bool) has been
    called by the finalizer, because we should not reference any managed
    objects.
    
    Set and check the disposed flag inside of Dispose(bool) so that it's
    also done when the object is finalized.
    
    Also clear up a confusion between a local ToggleRef variable in Dispose
    and the ToggleRef member field.
    bl8 committed Dec 4, 2011
    Configuration menu
    Copy the full SHA
    52e91af View commit details
    Browse the repository at this point in the history