<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [DebugSharedObjectLifeCycleChecker](./rc-js-util.debugsharedobjectlifecyclechecker.md)

## DebugSharedObjectLifeCycleChecker class

Wrapper of [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/FinalizationRegistry](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry) for shared objects, useful for checking if the shared object was properly disposed. Available in debug contexts only.

**Signature:**

```typescript
export declare class DebugSharedObjectLifeCycleChecker 
```

## Methods

<table><thead><tr><th>

Method


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[registerFinalizationCheck(sharedObject, metadata)](./rc-js-util.debugsharedobjectlifecyclechecker.registerfinalizationcheck.md)


</td><td>


</td><td>


</td></tr>
</tbody></table>
