antoniop
committed
on 23 Apr
Improve further: flush the object only when the state changes