Skip to content
Prev 40852 / 63421 Next

reg.finalizer and connection gc -- which runs when (and why)?

Connections use finalizers for cleanup.  Once finalizers become
eligible to run, the order in which they are run is unspecified.  If
you want to be sure yours runs first then you need to make sure the
connection one doesn't become eligible to run until yours has.

Best,

luke
On Thu, 21 Jul 2011, Martin Morgan wrote: