@@ -248,7 +248,7 @@ class RefBase : protected Finalizer, RefTracker {
248248 delete reference;
249249 } else {
250250 // defer until finalizer runs as
251- // it may alread be queued
251+ // it may already be queued
252252 reference->_delete_self = true ;
253253 }
254254 }
@@ -416,7 +416,7 @@ class Reference : public RefBase {
416416 inline void SetWeak () {
417417 if (_secondPassParameter == nullptr ) {
418418 // 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
420420 // nothing
421421 return ;
422422 }
@@ -455,9 +455,9 @@ class Reference : public RefBase {
455455 // second pass callback task. We have to make sure that parameter is kept
456456 // alive until the second pass callback is been invoked. In order to do
457457 // 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
459459 // 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
461461 // constructor for the Reference.
462462 static void SecondPassCallback (
463463 const v8::WeakCallbackInfo<SecondPassCallParameterRef>& data) {
0 commit comments