Function deinit [src]
Prototype
pub fn deinit(self: *AddressList) void
Parameters
self: *AddressList
Source
pub fn deinit(self: *AddressList) void {
// Here we copy the arena allocator into stack memory, because
// otherwise it would destroy itself while it was still working.
var arena = self.arena;
arena.deinit();
// self is destroyed
}