Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't explode when we tear out the last tab of the window
If you were really fast, and closed one window, and then tried to drag the only tab out of the last remaining window, the Terminal could explode. It'd attempt to restore the previous window state, and explode. Easy way to stop this (also, be more robust): just don't attempt to restore windows during tear-out. That's obvious. This is a part of #14957
- Loading branch information