• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Pare down dealloc method (REnamer, e0e2007)

Created 1/10/2008, updated 3/5/2024
  • snippets

In this case most of the old dealloc method is redundant under Garbage Collection; keep only the relevant bit and stick it in a finalize method.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Lose unnecessary brackets (REnamer, 7a8bb41)
Remove old license-checking code (REnamer, ad56fef) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).