看了 https://developers.google.com/v8/embed?hl=zh-CN#handles ,大概有些明白HandleScope的作用,但是亲自些测试代码的时候,发现不Close也能返回Handle。于是就很究竟了。
测试代码在: https://github.com/fengmk2/node-curl/issues/3#issuecomment-7196319
看了 https://developers.google.com/v8/embed?hl=zh-CN#handles ,大概有些明白HandleScope的作用,但是亲自些测试代码的时候,发现不Close也能返回Handle。于是就很究竟了。
测试代码在: https://github.com/fengmk2/node-curl/issues/3#issuecomment-7196319