3 ms·But you can just wrap whatever in a closure to scope your defer as needed. This is simple and works well.by cpuguy83 8y agoBut you can just wrap whatever in a closure to scope your defer as needed. This is simple and works well.