Execute a closure fn, and guarantee that obj will not be garbage-collected during the execution
fn
obj
Execute a closure
fn
, and guarantee thatobj
will not be garbage-collected during the execution