src: fix typos

PR-URL: https://github.com/nodejs/node/pull/55064
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
Nathan Baulch authored and GitHub committed 2024-09-27 15:34:48 +00:00
1 parent fd787c96e1
commit b5fb2ff81e
16 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -803,7 +803,7 @@ void MessagePort::OnMessage(MessageProcessingMode mode) {
// The data_ could be freed or, the handle has been/is being closed.
// A possible case for this, is transfer the MessagePort to another
// context, it will call the constructor and trigger the async handle empty.
// Because all data was sent from the preivous context.
// Because all data was sent from the previous context.
if (IsDetached()) return;
HandleScope handle_scope(env()->isolate());