X Tutup
The Wayback Machine - https://web.archive.org/web/20230222013833/https://github.com/nodejs/node/commit/d0cb129cdb
Skip to content
Permalink
Browse files
src: fix typo in src code guide
PR-URL: #37956
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
  • Loading branch information
tniessen authored and targos committed May 1, 2021
1 parent 4254315 commit d0cb129
Showing 1 changed file with 1 addition and 1 deletion.
@@ -761,7 +761,7 @@ reference to its associated JavaScript object. This can be useful when one
`BaseObject` refers to another `BaseObject` and wants to make sure it stays
alive during the lifetime of that reference.

A `BaseObject` can be “detached” throught the `BaseObject::Detach()` method.
A `BaseObject` can be “detached” through the `BaseObject::Detach()` method.
In this case, it will be deleted once the last `BaseObjectPtr` referring to
it is destroyed. There must be at least one such pointer when `Detach()` is
called. This can be useful when one `BaseObject` fully owns another

0 comments on commit d0cb129

Please sign in to comment.
X Tutup