Add a try/finally to context managers.
This way the state is always reset if an error occurs after the context manager yields. PiperOrigin-RevId: 194228925
Loading
Please sign in to comment
This way the state is always reset if an error occurs after the context manager yields. PiperOrigin-RevId: 194228925