How to discard unsaved changes to a view when editing it leads to a WSOD? This is one of those times when I tried to add something and realized that I've got it applied to all displays. This time it was a vocabulary filter, so I clicked cancel and it didn't register so I clicked back to site.

After that I tried to edit and it returned


  The website encountered an unexpected error. Please try again later.


The log shows this:


  Exception: No entity type for field vid on view VIEW in
  Drupal\views\Plugin\views\HandlerBase->getEntityType() (line 712 of
  /PATH/core/modules/views/src/Plugin/views/HandlerBase.php).


I checked the active config and couldn't find anything with a vid. Clearing cache and reimporting the view config didn't fix it. So, is there a way?
A quick fix would be to delete the data from the expirable key/value store:

\Drupal::keyValueExpirable('tempstore.shared.views')
  -&gt;delete('view_id');


Alternatively you could wait a week until it expires itself - probably not practical :)