vim: chain dispose before clearing sub-state
We want to ensure we dispose first (which will unparent the sub-state cleanly) before we release our pointers. Otherwise as the sub-state is popped, leave could be called and need access to history, etc.
parent
22912e0d
Please register or sign in to comment