docs
Loading...
Searching...
No Matches
ULJSHandleStats

#include <Ultralight/CAPI/CAPI_JSRuntime.h>

Overview

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).

Member Data Documentation

◆ total_values

size_t total_values

Live value handles.

◆ values_by_type

size_t values_by_type[kULJSType_Count]

Live value handles, indexed by ULJSType.

◆ weak_refs

size_t weak_refs

Live weak references (0 once the context is gone).


The documentation for this struct was generated from the following file: