Skip to content

Destructors ? #3

Description

@stuaxo

Hi,
I'm using kids.cache to cache some objects I create, but can't work out how to use destructors properly.

I tried adding del but this seems to get called when every instance is destroyed, is there a way to get called just when the cached instance is destroyed (ie when cache is cleared, or usually atexit I guess) ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions