Keep track of lease state using a state machine. Added more sanity checks that throw exceptions when lease is in an inconsistent state.
View differences
Keep track of lease state using a state machine. Added more sanity checks that throw exceptions when lease is in an inconsistent state.