We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d514db2 commit 2bc2a5aCopy full SHA for 2bc2a5a
src/cascadia/TerminalApp/TerminalPaneContent.cpp
@@ -66,6 +66,8 @@ namespace winrt::TerminalApp::implementation
66
}
67
void TerminalPaneContent::Close()
68
{
69
+ // We deliberately remove the event handlers before closing the control.
70
+ // This is to prevent re-entrancy issues, pointless callbacks, etc.
71
_removeControlEvents();
72
73
_control.Close();
0 commit comments