Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Fix comment in ObjectPool.OnBeforeRent and AsyncObjectPool.OnBeforeRent #540

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected int MaxPoolCount
protected abstract T CreateInstance();

/// <summary>
/// Called before return to pool, useful for set active object(it is default behavior).
/// Called before taking from pool, useful for set active object(it is default behavior).
/// </summary>
protected virtual void OnBeforeRent(T instance)
{
Expand Down Expand Up @@ -258,7 +258,7 @@ protected int MaxPoolCount
protected abstract IObservable<T> CreateInstanceAsync();

/// <summary>
/// Called before return to pool, useful for set active object(it is default behavior).
/// Called before taking from pool, useful for set active object(it is default behavior).
/// </summary>
protected virtual void OnBeforeRent(T instance)
{
Expand Down