Old obsolete queries coming back after opening LINQPad
This doesn't happen all the time but it has been happening with this one query in particular for a while now.
I have "Always shelve changes and open queries on exit" enabled. This works fine for my saved queries I tweaked (but haven't saved) or other queries I ran something, but didn't necessarily save and might want to keep around.
But apparently it also saved the state of an old "Search All Queries / Samples" query and it keeps coming back. I would close it now, but if I were to restart LINQPad, it would be back again.
Is there a way to clear this query from the "session?"
Comments
Take a look in %localappdata%\LINQPad\sessions. Perhaps a file is locked by some other software and cannot be deleted.