mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-13 05:35:06 +00:00
not an actual fix for 12169, but a crash nonetheless
This commit is contained in:
@@ -252,8 +252,11 @@ namespace winrt::Microsoft::Terminal::Remoting::implementation
|
||||
|
||||
if (_peasant)
|
||||
{
|
||||
// Inform the monarch of the time we were last activated
|
||||
_monarch.HandleActivatePeasant(_peasant.GetLastActivatedArgs());
|
||||
if (const auto& lastActivated{ _peasant.GetLastActivatedArgs() })
|
||||
{
|
||||
// Inform the monarch of the time we were last activated
|
||||
_monarch.HandleActivatePeasant(lastActivated);
|
||||
}
|
||||
}
|
||||
|
||||
if (!_isKing)
|
||||
|
||||
Reference in New Issue
Block a user