From fc70228dc9847ed70e9cb3f3904a776017f17667 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 30 Jul 2024 05:39:38 +0900 Subject: [PATCH] chore: update comimpl.h (#16011) beggining -> beginning --- native/Avalonia.Native/inc/comimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/Avalonia.Native/inc/comimpl.h b/native/Avalonia.Native/inc/comimpl.h index 017de01ee9..fd9093bb41 100644 --- a/native/Avalonia.Native/inc/comimpl.h +++ b/native/Avalonia.Native/inc/comimpl.h @@ -9,7 +9,7 @@ #include /** - START_COM_CALL causes AddRef to be called at the beggining of a function. + START_COM_CALL causes AddRef to be called at the beginning of a function. When a function is exited, it causes ReleaseRef to be called. This ensures that the object cannot be destroyed whilst the function is running. For example: Window Show is called, which triggers an event, and user calls Close inside the event