mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: clarify the section about -autofree (#13309)
This commit is contained in:
parent
61d28c8a8c
commit
7f22ed7935
@ -3888,6 +3888,11 @@ memory manually. (See [attributes](#attributes)).
|
|||||||
_Note: right now autofree is hidden behind the -autofree flag. It will be enabled by
|
_Note: right now autofree is hidden behind the -autofree flag. It will be enabled by
|
||||||
default in V 0.3. If autofree is not used, V programs will leak memory._
|
default in V 0.3. If autofree is not used, V programs will leak memory._
|
||||||
|
|
||||||
|
Note 2: Autofree is still WIP. Until it stabilises and becomes the default, please
|
||||||
|
compile your long running processes with `-gc boehm`, which will use the
|
||||||
|
Boehm-Demers-Weiser conservative garbage collector, to free the memory, that your
|
||||||
|
programs leak, at runtime.
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
```v
|
```v
|
||||||
|
Loading…
Reference in New Issue
Block a user