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

インスタンス同士の比較を避ける #25

Open
syuilo opened this issue Jul 26, 2021 · 1 comment
Open

インスタンス同士の比較を避ける #25

syuilo opened this issue Jul 26, 2021 · 1 comment

Comments

@syuilo
Copy link
Member

syuilo commented Jul 26, 2021

利用環境に依っては、インスタンスはプロキシを通されたりするため、比較がfalseになることがある。
インスタンスにIDを設定しておき、それで比較するようにしたい

@syuilo
Copy link
Member Author

syuilo commented Jul 26, 2021

こことか

this.sharedConnectionPools = this.sharedConnectionPools.filter(p => p !== pool);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant