• Alex Dadgar's avatar
    Fix variable capture and add tests · 45965421
    Alex Dadgar authored
    This PR fixes token revocation and adds tests to make sure it is
    working. The 0.5.6 RC1's token revocation does not work becasue the
    token's value is captured at the instantiation of the deferred
    stoprenewal statement rather than its exectution.
    45965421