FlatBuffersSchemaEditor icon indicating copy to clipboard operation
FlatBuffersSchemaEditor copied to clipboard

FlatBuffersBuilder leaks

Open AppsIncorporated opened this issue 7 years ago • 0 comments

I was building a lot of large flat buffer files and was seeing a leak. Tracked it down to the FlatBuffersBuilder. The following should be added to the generator for the FlatBuffersBuilder class

deinit { _data.deallocate(bytes: capacity, alignedTo: minalign) }

path: FlatBuffersSchemaEditor/maxim.zaks.flattBuffers/src/maxim/zaks/generator/swift/SwiftLibraryBuilder.xtend

line: 86

Great product, BTW. HUGELY helpful!

AppsIncorporated avatar May 03 '17 19:05 AppsIncorporated