Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 004420c11d3670943574e159c4171eb5731e2c8a..11aa47394f55d63711b93708c6ff7252a8f651bf 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -549,9 +549,9 @@ template <class T, class M> class Persistent { |
* kResetInDestructor flags in the traits class. Since not calling dispose |
* can result in a memory leak, it is recommended to always set this flag. |
*/ |
- V8_INLINE(~Persistent()) { |
- if (M::kResetInDestructor) Reset(); |
- } |
+// V8_INLINE(~Persistent()) { |
Dmitry Lomov (no reviews)
2013/09/09 11:38:49
Since it is a public API, please remove completely
|
+// if (M::kResetInDestructor) Reset(); |
+// } |
/** |
* If non-empty, destroy the underlying storage cell |