fn deinit(pool: *Pool) void

Destroys the memory pool and frees all allocated memory.

Parameters

pool: *Pool,