WithoutGC disables the use of the garbage collector
()
| 421 | |
| 422 | // WithoutGC disables the use of the garbage collector |
| 423 | func WithoutGC() AllocatorOption { |
| 424 | return func(a *Allocator) { a.disableGC = true } |
| 425 | } |
| 426 | |
| 427 | // WithoutAutostart prevents starting the allocator when it is initialized |
| 428 | func WithoutAutostart() AllocatorOption { |
no outgoing calls
searching dependent graphs…