@@ -248,7 +248,7 @@ class RefBase : protected Finalizer, RefTracker {
248
248
delete reference;
249
249
} else {
250
250
// defer until finalizer runs as
251
- // it may alread be queued
251
+ // it may already be queued
252
252
reference->_delete_self = true ;
253
253
}
254
254
}
@@ -416,7 +416,7 @@ class Reference : public RefBase {
416
416
inline void SetWeak () {
417
417
if (_secondPassParameter == nullptr ) {
418
418
// This means that the Reference has already been processed
419
- // by the second pass calback , so its already been Finalized, do
419
+ // by the second pass callback , so its already been Finalized, do
420
420
// nothing
421
421
return ;
422
422
}
@@ -455,9 +455,9 @@ class Reference : public RefBase {
455
455
// second pass callback task. We have to make sure that parameter is kept
456
456
// alive until the second pass callback is been invoked. In order to do
457
457
// this and still allow our code to Finalize/delete the Reference during
458
- // shutdown we have to use a seperately allocated parameter instead
458
+ // shutdown we have to use a separately allocated parameter instead
459
459
// of a parameter within the Reference object itself. This is what
460
- // is stored in _secondPassParameter and it is alocated in the
460
+ // is stored in _secondPassParameter and it is allocated in the
461
461
// constructor for the Reference.
462
462
static void SecondPassCallback (
463
463
const v8::WeakCallbackInfo<SecondPassCallParameterRef>& data) {
0 commit comments