Skip to content

Commit a127c25

Browse files
HiDaN4haarts
authored andcommitted
- Also override 'destroy()' method in MultiOutput
1 parent 6f9712a commit a127c25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/outputs/multi_output.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ class MultiOutput extends LogOutput {
2626
void output(OutputEvent event) {
2727
_outputs.forEach((o) => o.output(event));
2828
}
29+
30+
@override
31+
void destroy() {
32+
_outputs.forEach((o) => o.destroy());
33+
}
2934
}

0 commit comments

Comments
 (0)