You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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) ?
The text was updated successfully, but these errors were encountered:
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) ?
The text was updated successfully, but these errors were encountered: