pub fn deinit(mr: *MultiReader) void mr: *MultiReader99
100
101
102
103
104
105
106
107pub fn deinit(mr: *MultiReader) void {
const gpa = mr.gpa;
const contexts = mr.streams.contexts();
const io = contexts[0].fr.io;
mr.batch.cancel(io);
for (contexts) |*context| {
gpa.free(context.fr.interface.buffer);
}
}