Function StackPool.Release

Release (Stack<T> stack)

Releases a stack.

Public Static
void Release (

Stack<T>

stack

)

Releases a stack.

After the stack has been released it should not be used anymore. Releasing a stack twice will cause an error.