This is done to address issue #9. Based on the language manual, the
defer keyword is not supported at the top level. But defer is used to
ensure that nimbox cleans up after itself when it is finished.
Therefore we need to wrap the call to defer inside a proc.
This is done to address issue #9. Based on the language manual, the defer keyword is not supported at the top level. But defer is used to ensure that nimbox cleans up after itself when it is finished. Therefore we need to wrap the call to defer inside a proc.