Skip to content

Commit 976eb33

Browse files
fix spelling
1 parent 0d475b5 commit 976eb33

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

www/en/modules/ROOT/pages/memory-management.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
= Memory management
22
:page-toclevels: 1
33

4-
Memory management is one of the most missunderstanded concept and a source of concerns for {lv} developpers.
4+
Memory management is one of the most misunderstood concepts and a source of concerns for {lv} developers.
55

6-
This section gather examples to understand when memory is allocated and deallocated.
6+
This section gathers examples to understand when memory is allocated and deallocated.
77

88
== Basic behavior
99

10-
In this example, we placed breakpoints at strategic points to see how the memory allocated is changing depending of the code.
10+
In this example, we placed breakpoints at strategic points to see how the memory allocation changes as the code runs.
1111

1212
Example code: *03a - Memory Management.vi*
1313

@@ -23,8 +23,8 @@ video::event-memory-allocation.mp4[opts="autoplay,loop",width=640]
2323

2424
Here are the key points to remember:
2525

26-
. User Events generated before the User Event is registred are not kept in memory 👉 no memory leak.
27-
. User Events generated after the registration are kept in memory 👉 you should be very carful binding your Registred Events ref to a n {ev}.
28-
. When event are consumed by the {es} the memory is deallocated 👉 to avoid memory issue in your code, you must ensure to have an {es} able to cosumes all the event generated.
26+
. User Events generated before the User Event is registered are not kept in memory 👉 no memory leak.
27+
. User Events generated after the registration are kept in memory 👉 you should be very careful binding your Registred Events ref to an {ev}
28+
. When event are consumed by the {es} the memory is deallocated 👉 to prevent memory issues in your code, you must ensure that {es} is capable of consuming all generated events it is handling.
2929
. Events not consumed by the {es} are deallocated when calling the `Unregister For Events` function 👉 always call this function when you exit an {ev}.
3030

0 commit comments

Comments
 (0)