Skip to content

Guard against a connection object having its state list grow without bounds

Compare
Choose a tag to compare
@bobk2824 bobk2824 released this 26 Feb 21:46
· 55 commits to master since this release

This can happen if you create a long lived connection object that is used by different threads. If new threads are being created all the time, each one will cause a new state entry. The previous version relied on the connection objects being destroyed and created. This version keeps track of the state list and it will be trimmed during garbage collection.