Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't let ConptyConnection be UAF (microsoft#4871)
I noticed a crash in debug builds when a connected application terminates; we get its exit code, then we destruct, and the u16state is used after it's destructed by us parsing the process's last words. We should have been doing this all along.
- Loading branch information