Summary
Puts an item back into the pool to be available for future use.
Also sets the item to to avoid accidental use afterwards.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- ObjectPool
<T>
Syntax
public void Release(ref T item)
Parameters
| Name | Type | Description |
|---|---|---|
| item | T |
Return Value
| Type | Description |
|---|---|
| void |