/// <summary> /// Unregisters the specified resource pool. /// </summary> /// <param name="pool">The resource pool to unregister.</param> internal static void Unregister(ResourcePool pool) { lock (PoolsInternal) { PoolsInternal.Remove(pool); } }
//-------------------------------------------------------------- /// <summary> /// Registers the specified resource pool. /// </summary> /// <param name="pool">The resource pool to register.</param> internal static void Register(ResourcePool pool) { lock (PoolsInternal) { PoolsInternal.Add(pool); } }