I feel like its worth mentioning, for any casual observer, using
finalize()
to actually do anything in production is usually a bad idea, I'm using it as part of some resource wrappers in a test environment to assert that my production code is properly disposing of resources