Finalisation disclaimer
R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/219403002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20355 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
163044e7ba
commit
d486f52cf4
@ -524,6 +524,13 @@ template <class T> class PersistentBase {
|
|||||||
return !operator==(that);
|
return !operator==(that);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Install a finalization callback on this object.
|
||||||
|
* NOTE: There is no guarantee as to *when* or even *if* the callback is
|
||||||
|
* invoked. The invocation is performed solely on a best effort basis.
|
||||||
|
* As always, GC-based finalization should *not* be relied upon for any
|
||||||
|
* critical form of resource management!
|
||||||
|
*/
|
||||||
template<typename P>
|
template<typename P>
|
||||||
V8_INLINE void SetWeak(
|
V8_INLINE void SetWeak(
|
||||||
P* parameter,
|
P* parameter,
|
||||||
|
Loading…
Reference in New Issue
Block a user