• James Bardin's avatar
    create clistate.Locker interface · e88bd74b
    James Bardin authored
    Simplify the use of clistate.Lock by creating a clistate.Locker
    instance, which stores the context of locking a state, to allow unlock
    to be called without knowledge of how the state was locked.
    
    This alows the backend code to bring the needed UI methods to the point
    where the state is locked, and still unlock the state from an outer
    scope.
    e88bd74b