Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Close scan session when not all data is read. #813
If only some data is read from a scanner and then the scanner is closed then this may leave server side scan sessions open. Normally this does not matter because these scan sessions do not use much memory. However in the case of an isolated scan then scan session can use a lot of memory. While working on #797 I had refactored a metadata scan from
Currently scanners have a close method that is a noop. However it would be nice if this close method cleaned up any server side scan sessions.