We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac7e65 commit 2015788Copy full SHA for 2015788
src/cascadia/TerminalApp/App.cpp
@@ -51,6 +51,11 @@ namespace winrt::TerminalApp::implementation
51
// then it might look like App just failed to activate, which will
52
// cause you to chase down the rabbit hole of "why is App not
53
// registered?" when it definitely is.
54
+
55
+ // See GH#1339. This is a workaround for MSFT:22116519
56
+ // We need this to prevent an occasional crash on teardown
57
+ AddRef();
58
+ m_inner.as<::IUnknown>()->Release();
59
}
60
61
// Method Description:
0 commit comments