Skip to content

Commit 015d953

Browse files
fraxkenGabriel Schulhof
authored andcommitted
doc: fix Napi::Reference link
One of the links to the Napi::Reference documentation is broken. PR-URL: #365 Reviewed-By: Nicola Del Gobbo <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent fd65078 commit 015d953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/object_reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`Napi::ObjectReference` is a subclass of [`Napi::Reference`](reference.md), and is equivalent to an instance of `Napi::Reference<Object>`. This means that a `Napi::ObjectReference` holds a [`Napi::Object`](object.md), and a count of the number of references to that Object. When the count is greater than 0, an ObjectReference is not eligible for garbage collection. This ensures that the Object being held as a value of the ObjectReference will remain accessible, even if the original Object no longer is. However, ObjectReference is unique from a Reference since properties can be set and get to the Object itself that can be accessed through the ObjectReference.
44

5-
For more general information on references, please consult [`Napi::Reference`](referenc.md).
5+
For more general information on references, please consult [`Napi::Reference`](reference.md).
66

77
## Example
88
```cpp

0 commit comments

Comments
 (0)