Skip to content

Commit 67c29fb

Browse files
committed
fix: StringBuilder.OutputWrapper.flush does not null buffer as expected
1 parent eb4c9a1 commit 67c29fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hx/strings/StringBuilder.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ private class OutputWrapper extends Output {
467467
public function flush() {
468468
if (bo != null && bo.length > 0) {
469469
sb.add(bo.getBytes().toString());
470-
bo == null;
470+
bo = null;
471471
}
472472
}
473473

0 commit comments

Comments
 (0)