Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Fix memory leak when replacing invalid connections on multi threaded environment. #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 1, 2012

  1. Update source/MongoDB/Connections/Connection.cs

    make ReplaceInvalidCollection done while holding lock
    
    Without holding lock, there is race condition between threads on replacing connections, i.e. "_connection"s created but only one of them used. This creates many unclosed TCPClients.
    ghk committed Oct 1, 2012
    Configuration menu
    Copy the full SHA
    276b991 View commit details
    Browse the repository at this point in the history