This PR adds a unit test for the go routine leak identified in issue 913. The bug fix is simply to re-use the same logic that already exists for the state-of-the-world StreamHandler.
You can re-create the goroutine leak by running the commit with just the test, and seeing that it fails before the fix.
This PR adds a unit test for the go routine leak identified in issue 913. The bug fix is simply to re-use the same logic that already exists for the state-of-the-world StreamHandler.
You can re-create the goroutine leak by running the commit with just the test, and seeing that it fails before the fix.