Skip to content

Commit 8203cc6

Browse files
authored
Clarify memory management tip for AutoIt events
Updated the tip about managing local variables in AutoIt for better clarity.
1 parent 1be0636 commit 8203cc6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/🪽 Volatile_Usage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ EndFunc ;==>NetWebView2_Events_OnFrameCreated
8181
```
8282

8383

84-
> **💡 Pro Tip:** This practice is especially important for the `$oArgs` object in events like `OnWebMessageReceived` or `OnNavigationCompleted`. Even though AutoIt will eventually clear local variables when the function exits, setting them to `0` manually is an "active" safeguard against memory fragmentation in high-frequency events.
84+
>[!TIP]
85+
This practice is especially important for the `$oArgs` object in events like `OnWebMessageReceived` or `OnNavigationCompleted`. Even though AutoIt will eventually clear local variables when the function exits, setting them to `0` manually is an "active" safeguard against memory fragmentation in high-frequency events.
8586

8687

8788
---

0 commit comments

Comments
 (0)