-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The HybridMemoryStream created in the Transposer
| var stream = new HybridMemoryStream(); |
is closed, but never disposed. This is because the
Dispose implementation of the BinaryLoader here| _reader.Dispose(); |
only calls
Dispose on the System.IO.BinaryReader it contains, which in turn only calls Close on HybridMemoryStream, but not Dispose (see https://referencesource.microsoft.com/#mscorlib/system/io/binaryreader.cs,91). Therefore, the deletion of the temporary file here| File.Delete(_overflowPath); |
is never reached.
This is causing the temporary directory on my PC to fill up all the available space on the disk.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working