emqx / mongodb-erlang

MongoDB driver for Erlang
Apache License 2.0
9 stars 14 forks source link

fix(mc_topology): fix potential process leaks #27

Closed sdzx-1 closed 2 years ago

sdzx-1 commented 2 years ago

If the process where get_pool is located is killed before the timeout, there will be no chance to send timeout information to the spawn's get_pool process. This will cause the get_pool process to leak.