Skip to content

Commit

Permalink
Update 001. Basic Usage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gecko0307 committed Feb 22, 2018
1 parent 89f2aaa commit aaafd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/001. Basic Usage.md
Expand Up @@ -51,7 +51,7 @@ When you are done with your simulation, don't forget to free the memory allocate

Delete(world);

Because dmech doesn't use D's garbage collector to allocate its memory, it needs to be freed manually. Don't try to update the simulation of access bodies after the world was freed.
Because dmech doesn't use D's garbage collector to allocate its memory, it needs to be freed manually. Don't try to update the simulation or access bodies after the world was freed.

You can use dlib's ownership mechanism (`dlib.core.ownership`) to attach the world to some owner object, like your application or data manager:

Expand Down

0 comments on commit aaafd3a

Please sign in to comment.