|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_JSRuntime.h>
Counts of the live handles on one context, for finding leaks.
Value handles keep counting after the page is gone, until you destroy them. Copies made with ulCreateJSValueRef() count once, the counts include a few handles the library holds for you, and a destroyed handle can stay counted until the next ulUpdate().
Public Attributes | |
| size_t | total_values |
| Live value handles. | |
| size_t | values_by_type [kULJSType_Count] |
| Live value handles, indexed by ULJSType. | |
| size_t | weak_refs |
| Live weak references (0 once the context is gone). | |
| size_t total_values |
Live value handles.
| size_t values_by_type[kULJSType_Count] |
Live value handles, indexed by ULJSType.
| size_t weak_refs |
Live weak references (0 once the context is gone).